tree-sitter/src/compiler/prepare_grammar
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
..
expand_repeats.cc Define repeat rule in terms of repeat1 rule 2015-10-12 19:22:05 -07:00
expand_repeats.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
expand_tokens.cc Make precedence more useful within tokens 2015-11-01 12:48:27 -08:00
expand_tokens.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
extract_choices.cc Normalize lexical grammar rules before constructing lex table 2015-10-11 16:56:00 -07:00
extract_choices.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
extract_tokens.cc Fix handling of changing precedence within lexical rules. 2015-11-08 13:36:15 -08:00
extract_tokens.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
flatten_grammar.cc Record in parse table which actions can hide splits 2015-12-17 13:11:56 -08:00
flatten_grammar.h Normalize lexical grammar rules before constructing lex table 2015-10-11 16:56:00 -07:00
initial_syntax_grammar.h Fix linter errors 2015-10-12 19:22:05 -07:00
intern_symbols.cc Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
intern_symbols.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
interned_grammar.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
is_token.cc Fix handling of changing precedence within lexical rules. 2015-11-08 13:36:15 -08:00
is_token.h Move public rule functions out of rule namespace 2015-09-03 17:49:20 -07:00
normalize_rules.cc Normalize lexical grammar rules before constructing lex table 2015-10-11 16:56:00 -07:00
normalize_rules.h Normalize lexical grammar rules before constructing lex table 2015-10-11 16:56:00 -07:00
parse_regex.cc Define repeat rule in terms of repeat1 rule 2015-10-12 19:22:05 -07:00
parse_regex.h Move public rule functions out of rule namespace 2015-09-03 17:49:20 -07:00
prepare_grammar.cc Comment all the steps of prepare_grammar 2015-12-02 14:56:59 -08:00
prepare_grammar.h Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
token_description.cc In compiler, distinguish between anonymous tokens and hidden rules 2015-09-05 22:28:55 -07:00
token_description.h Move public rule functions out of rule namespace 2015-09-03 17:49:20 -07:00