tree-sitter/test/fixtures/test_grammars
Max Brunsfeld cbdfd89675 Mark reductions as fragile based on their final properties
We previously maintained a set of individual productions that were
involved in conflicts, but that was subtly incorrect because
we don't compare productions themselves when comparing parse items;
we only compare the parse items properties that could affect the
final reduce actions.
2017-07-21 09:54:24 -07:00
..
anonymous_tokens_with_escaped_chars Rename spec -> test 2017-03-09 20:40:01 -08:00
associativity_left Rename spec -> test 2017-03-09 20:40:01 -08:00
associativity_missing Mark reductions as fragile based on their final properties 2017-07-21 09:54:24 -07:00
associativity_right Rename spec -> test 2017-03-09 20:40:01 -08:00
conflicting_precedence Mark reductions as fragile based on their final properties 2017-07-21 09:54:24 -07:00
dynamic_precedence Add PREC_DYNAMIC rule for resolving runtime ambiguities 2017-07-06 15:24:45 -07:00
epsilon_rules Rename spec -> test 2017-03-09 20:40:01 -08:00
external_and_internal_anonymous_tokens Update test grammars to use new serialization API 2017-07-17 17:46:46 -07:00
external_and_internal_tokens Update test grammars to use new serialization API 2017-07-17 17:46:46 -07:00
external_extra_tokens Update test grammars to use new serialization API 2017-07-17 17:46:46 -07:00
external_tokens Update test grammars to use new serialization API 2017-07-17 17:46:46 -07:00
inline_rules Test more cases in fixture grammar with inline rules 2017-07-12 10:12:42 -07:00
inlined_renamed_rules Support anonymous tokens inside of RENAME rules 2017-07-14 10:19:58 -07:00
lexical_conflicts_due_to_state_merging Rename spec -> test 2017-03-09 20:40:01 -08:00
nested_inlined_rules Handle inlined rules that contain other inlined rules 2017-07-20 15:29:06 -07:00
precedence_on_single_child_missing Provide all preceding symbols as context when reporting conflicts 2017-07-07 14:52:56 -07:00
precedence_on_single_child_negative Rename spec -> test 2017-03-09 20:40:01 -08:00
precedence_on_single_child_positive Rename spec -> test 2017-03-09 20:40:01 -08:00
precedence_on_subsequence Rename spec -> test 2017-03-09 20:40:01 -08:00
readme_grammar Rename spec -> test 2017-03-09 20:40:01 -08:00
renamed_inlined_rules Support anonymous tokens inside of RENAME rules 2017-07-14 10:19:58 -07:00
renamed_rules Introduce RENAME rule type 2017-07-13 17:17:22 -07:00
start_rule_is_blank Rename spec -> test 2017-03-09 20:40:01 -08:00
start_rule_is_token Rename spec -> test 2017-03-09 20:40:01 -08:00
unused_rules Handle unused tokens 2017-03-09 21:16:37 -08:00
readme.md Rename spec -> test 2017-03-09 20:40:01 -08:00

These small grammars demonstrate specific features or test for certain specific regressions.

For some of them, compilation is expected to fail with a given error message. For others, the resulting parser is expected to produce certain trees.