tree-sitter/test/fixtures/test_grammars
2018-08-30 09:57:22 -07:00
..
aliased_inlined_rules Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00
aliased_rules Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
aliased_unit_reductions Account for simple aliases in unit reduction elimination 2018-08-30 09:57:22 -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
conflict_in_repeat_rule Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
conflict_in_repeat_rule_after_external_token Handle conflicts in repeat rules after external tokens 2018-02-14 11:24:51 -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 Don't allow an epsilon start rule if it is used in other rules 2018-01-23 17:05:28 -08:00
external_and_internal_anonymous_tokens Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
external_and_internal_tokens Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
external_extra_tokens Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
external_tokens Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
immediate_tokens Add IMMEDIATE_TOKEN rule type, for enforcing no preceding extras 2018-08-01 14:00:57 -07:00
inline_rules Require that grammars' start rules be visible 2017-08-04 17:07:37 -07:00
inlined_aliased_rules Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
inverted_external_token Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
invisible_start_rule Require that grammars' start rules be visible 2017-08-04 17:07:37 -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
partially_resolved_conflict Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08: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
precedence_on_token Flesh out integration test for precedence within tokens 2018-07-31 10:18:49 -07:00
readme_grammar Rename spec -> test 2017-03-09 20:40:01 -08: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.