However, ANTLRWorks 1.4 (in opposite to the latest 1.4.2) generates proper C# sources. I think, C# target is just out of date. Waiting for update.
On 26 дек, 12:50, Vasily <[email protected]> wrote: > Hi, all! > > I created a new c# console project, added MyLexer.cs, MyParser.cs and > referenced Antlr3.Runtime.dll, antlr.runtime.dll, StringTemplate.dll > and Antlr3.Utility.dll fromhttp://www.antlr.org/download/antlr-3.1.3.tar.gz. > > When I tried to compile, I got 26 errors, for example: > > Error 1 The type or namespace name 'GrammarRuleAttribute' could not be > found (are you missing a using directive or an assembly reference?) F: > \Projects\AntlrTest\AntlrTest\MyLangLexer.cs 66 6 AntlrTest > > Error 4 The type or namespace name 'IAstRuleReturnScope' could not be > found (are you missing a using directive or an assembly reference?) F: > \Projects\AntlrTest\AntlrTest\MyLangParser.cs 94 66 AntlrTest > > I can't find GrammarRuleAttribute class in any of Antlr assemblies. > > Can anybody tell me where those classes are? -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
