...
Kunle Odutola
kunle UNDERSCORE odutola AT hotmail.com
Micheal Jordan
Contents
- #Contents#Status
- #Architecture
- #Target Platforms
- #Performance
- #Running
- #Architecture
- #Architecture#Usage
- [#Setting the options for C# output
- #Debugging with ANTLRWorks
Status
As of April 2007, the C# code generator and runtime are compatible with ANTLR v3.0b8. As before, development progress is likely to be sporadic.
...
The V3 target generates code that is easily faster than that generated by the V2 target (especially the lexers). We probably won't be able to match the bare-metal performance of the code generated by Jim Idle's C target or Ric Klaren's C++ target but, we expect to be very competitive with the other targets.
...
Usage
Setting the options for C# output
For generating C# code set "language=CSharp;" in the options block of your grammars. Namespace can be set via:
Code Block |
---|
@lexer::namespace { mynamespace.parser } @parser::namespace { mynamespace.parser } |