m68kplugin icon indicating copy to clipboard operation
m68kplugin copied to clipboard

Dialect compatibility regarding remarks

Open sandord opened this issue 5 months ago • 7 comments

I'm using GNU Assembler and while that assembler supports the # and | (at the start of a line) delimiters, the plugin doesn't recognize those delimiters.

sandord avatar Oct 08 '25 18:10 sandord

Do you mean

The line-comment character is | (unless the '--bitwise-or' option is used). If a # appears at the beginning of a line, it is treated as a comment unless it looks like # line file, in which case it is treated normally.

Currently the plugin focuses on vasm syntax exclusively.

YannCebron avatar Oct 09 '25 12:10 YannCebron

Yes, that's what I meant.

It would be great if there was a way to choose between dialects.

sandord avatar Oct 09 '25 14:10 sandord

From a quick glance, it seems GNU Assembler differs quite considerably from vasm/Devpac syntax in various regards. While this request is reasonably easy to incorporate, I'm not so sure about all the other (potential) issues for full support.

YannCebron avatar Oct 20 '25 11:10 YannCebron

I don't know either but I'd be happy to test it. I'm working on a rather long-term project in which I work with m68k code a lot.

sandord avatar Oct 20 '25 12:10 sandord

It would be interesting to have some real world sources so I can gauge the amount of work involved.

YannCebron avatar Oct 20 '25 12:10 YannCebron

Sure, I can send you some but I cannot post it here since it concerns (currently) closed sources.

sandord avatar Oct 20 '25 13:10 sandord

FTR supporting GNU assembler specific comment prefixes itself is possible, but given that GNU specific directives are not supported (and thereby breaking highlighting) this makes only sense once all assembler specific syntax is fully supported

YannCebron avatar Oct 31 '25 11:10 YannCebron