I'm having trouble setting up ANTLR v4 for C#, anyone keen to help me? I'm using the build target referred from the official site here https://github.com/sharwell/antlr4cs
I added a simple grammar Foo.g
grammar Foo;
r : 'hello' ID ; // match keyword hello followed by an identifier
ID : [a-z]+ ; // match lower-case identifiers
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines
...and set the build action for it to Antlr4
Now I'm stuck with the following errors.
'´' came as a complete surprise to me
mismatched input 'grammar' expecting SEMI