> Hi all, > is there a way to save a parsers output to a file and read it back in with > a tree parser? Think that would be helpful i.e. debugging a tree parser in > antlr works. > Best Regards, > Claus
The best idea I had is to create a debug parser with a special IDebugListener implementation, which saves the created nodes in a text format (a direct parse tree reading will not work if you change/delete nodes). Then you could create a special stream (not sure what tree parsers expect), which can work with the input format. Maybe others know about another shortcut. Johannes -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
