LanguageCompiler class missing

Aug 13, 2010 at 8:47 PM

So, I'm working through the example here:

But, it references classes that appear to have been removed from Irony, unless I'm missing something. The code block:


CameraControlGrammar grammar = new CameraControlGrammar();
LanguageCompiler compiler = new LanguageCompiler(grammar);
AstNode program = compiler.Parse("the source code as a string");

uses the LanguageCompiler class, which I can't find. Help?

None of the examples I've found seem to provide much insight into walking the AST tree.
The grammar definition examples are great, but I'm unclear on how to get an AST back that I can then walk to compile my app.
Aug 13, 2010 at 9:05 PM
The code in this article is completely outdated. Look at SearchGrammar class and RunSample method - it walks the parse tree
Aug 17, 2010 at 5:36 PM
Edited Aug 17, 2010 at 5:36 PM
I had this same problem, and figured out what to do by going through the grammar explorer.