tree-sitter/spec/compiler
Max Brunsfeld c495076adb Record in parse table which actions can hide splits
Suppose a parse state S has multiple actions for a terminal lookahead symbol A.
Then during incremental parsing, while in state S, the parser should not
reuse a non-terminal lookahead B where FIRST(B) contains A, because reusing B
might prematurely discard one of the possible actions that a batch parser
would have attempted in state S, upon seeing A as a lookahead.
2015-12-17 13:11:56 -08:00
..
build_tables Record which tokens are fragile when lexing 2015-12-10 21:05:54 -08:00
helpers Record in parse table which actions can hide splits 2015-12-17 13:11:56 -08:00
prepare_grammar Treat reduce actions with different production IDs as distinct 2015-12-10 13:00:26 -08:00
rules Use 2-space continuation indent consistently in specs 2015-07-27 18:18:58 -07:00
util Generate correct C literals for non-ascii characters 2014-09-28 18:40:15 -07:00
compile_examples.cc Escape backslashes and quotes in symbol name strings 2015-11-09 09:33:24 -08:00
compile_spec.cc Fix item-set-closure bug w/ empty productions 2015-10-15 23:59:47 -07:00
compiler_spec_helper.h Tweak header include paths in tests 2014-06-23 18:50:03 -07:00
compiler_specs.cc Fix indentation in specs 2014-08-07 08:11:21 -07:00