2 ms·
If someone's interested in this, there's also a really good related paper on functional incremental parsing: http://www.cse.chalmers.se/~bernardy/FunctionalIncr
by viraptor 17y ago
If someone's interested in this, there's also a really good related paper on functional incremental parsing: http://www.cse.chalmers.se/~bernardy/FunctionalIncrementalParsing.pdf http://www.cse.chalmers.se/~bernardy/FunctionalIncrementalPa...
This method is used in Yi editor to implement a parser / highlighter which does real parsing, but doesn't require reading the whole file (and can be restarted at some arbitrary point after modifications).