News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Has anyone written a lexer for ARM gcc assembler

Started by Bluescreen2001, March 12, 2017, 06:08:45 PM

Previous topic - Next topic

Bluescreen2001

The assembler files used by arm gcc use a C-like syntax (comments, number format, even some preprocessor stuff). So I tried to build a lexer based upon the C lexer (type 3). But I failed. It does not detect my CPU instructions because the "casesensitive" option is ignored and also not the assembler commands beginning with a dot, like .equ. The dot becomes red, the equ is default style.

In generally find these lexer definitions very confusing. So I ask here, has anyone already created a lexer for ARM assembler for gcc?

Thank you
Thorsten