Author Topic: Has anyone written a lexer for ARM gcc assembler  (Read 295 times)

Offline Bluescreen2001

  • Single posting newcomer
  • *
  • Posts: 3
Has anyone written a lexer for ARM gcc assembler
« on: March 12, 2017, 06:08:45 pm »
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
« Last Edit: March 12, 2017, 06:26:59 pm by Bluescreen2001 »