Hi ! (I'm new to this list and therefore can't reply to the messages concerning incremental parsing.)
Mapping a parse tree to offsets in the input is somewhat similar to memoizing the results of the parsers if you memoize the result using the lookahead prefix. It can be simpler to code but it doesn't handle incomplete code. Christophe _______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg