pygments lexer for ABAP syntaxhighlighting
Yesterday I submitted a patch to the pygments bugtracker with a functioning lexer for ABAP. I hope that it'll be included in the next release.
REPORT z_hello_world.
PARAMETERS: gv_name TYPE text50.
WRITE: 'Hello', gv_name.
The lexer currently has one little problem. If you define a variable with the same name as an ABAP keyword, it'll also highlight that variable. Maybe I'll get around to fixing that, but that'll be quite a task since that means parsing every ABAP statement and not just highlighting the keywords.
26 February 2009
