code_junkie

Using C# and gppg, how would I construct an abstract syntax tree?

Nov 12th, 2011
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var parser = new Parser.Parser();
  2. var scanner = new Scanner();
  3. parser.scanner = scanner;
  4. scanner.SetSource(sourceString, 0);
  5. bool result = parser.Parse();
  6. if (!result)
  7. {
  8.  
  9.  
  10. }
  11.  
  12. }
Add Comment
Please, Sign In to add comment