This project has moved and is read-only. For the latest updates, please go here.

Need help converting an old project

Mar 25 at 2:36 AM
Edited Mar 25 at 2:40 AM
I am resurrecting an old Irony project from 2011ish. Has this code to get the grammar AST as XML
            LanguageCompiler gaqlCompiler = new LanguageCompiler(new GaqlGrammar());
            CompilerContext compilerContext = new CompilerContext(gaqlCompiler);
            AstNode rootNode = gaqlCompiler.Parse(compilerContext, source);
            XmlDocument xdoc = rootNode.XmlToDocument();
I need to convert these four lines to the new semantics. Can anyone help?
Mar 26 at 6:17 PM
I found parseTree.ToXmlDocument() and that gives me something that I can work with.