tree-sitter/src/compiler
Max Brunsfeld 686dc0997c Avoid introducing certain lexical conflicts during parse state merging
The current pretty conservative approach is to avoid merging parse states which
would cause a pair tokens to co-exist for the first time in any parse state,
where the two tokens can start with the same character and at least one of the
tokens can contain a character which is part of the grammar's separators.
2017-02-27 22:54:38 -08:00
..
build_tables Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
generate_code Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
prepare_grammar Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
rules Fix some build warnings on gcc 2017-01-31 11:46:28 -08:00
util Use hash_combine everywhere 2016-11-16 11:46:22 -08:00
compile.cc Fix assorted memory leaks in test code 2016-02-05 12:23:54 -08:00
compile.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00
compile_error.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00
grammar.h Start work on external tokens 2016-12-02 16:24:19 -08:00
lex_table.cc Restructure parse state merging logic 2017-02-26 12:23:48 -08:00
lex_table.h Restructure parse state merging logic 2017-02-26 12:23:48 -08:00
lexical_grammar.cc Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
lexical_grammar.h Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
parse_grammar.cc Remove EXTERNAL_TOKEN grammar rule type 2016-12-04 15:02:32 -08:00
parse_grammar.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00
parse_table.cc Restructure parse state merging logic 2017-02-26 12:23:48 -08:00
parse_table.h Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
precedence_range.cc Include precedence calculation in LexItemSet::transitions 2015-10-30 16:07:29 -07:00
precedence_range.h Include precedence calculation in LexItemSet::transitions 2015-10-30 16:07:29 -07:00
rule.cc Add helper for dynamic-casting to rule subclasses 2015-10-12 19:21:56 -07:00
rule.h Fix linter errors 2015-10-12 19:22:05 -07:00
rules.h Remove EXTERNAL_TOKEN grammar rule type 2016-12-04 15:02:32 -08:00
syntax_grammar.cc Avoid introducing certain lexical conflicts during parse state merging 2017-02-27 22:54:38 -08:00
syntax_grammar.h Refactor logic for handling shared internal/external tokens 2016-12-21 10:49:55 -08:00
variable.cc Merge branch 'flatten-rules-into-productions' 2015-10-02 23:46:39 -07:00
variable.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00