[antlr-interest] executing actions during backtrack

Martin Probst mail at martin-probst.com
Wed May 10 23:50:44 PDT 2006


Hi,

> We're still talking DFA's right? Depending on whether the DFA is  
> state-centric or transition-centric, you would put the Command  
> stucturally in a State or Transition... Just thinking out loud here.

Well yes, but we're talking about saving arbitrary user data, or not?

> I think the size of the serialization 'file' should be configurable  
> on startup. A circular log would prevent runaway log size. If the  
> user had a really large walk from node to node before a confirmed  
> match, they would have to make sure the log file size was  
> configured large enough.

Sorry, but that sounds a lot like implementing a database, but at all  
like implementing a parser generator, at least to me. And you didn't  
even start about all the concurrency issues with the log ;-)

Martin


More information about the antlr-interest mailing list