[antlr-interest] C# and antlr 2.7.5

Micheal J open.zone at virgin.net
Wed Nov 30 11:23:33 PST 2005


> I'm trying to parse C# with grammar that i have taken on the 
> antlr website from
> 
> Error The type or namespace name 'Nodes' does not exist in 
> the namespace 'CodeCritic' (are you missing an assembly reference?)

Todd's grammar is part of his CodeCritic project and might not have been
sanitized to work as-is in any other project.

> Should i use another file or just csharp.g is required.

You may have to edit his grammar file to remove references to Classes/Types
that you don't have.

Micheal



More information about the antlr-interest mailing list