tree-sitter/test/fixtures/test_grammars
2020-07-29 09:53:07 -07:00
..
aliased_inlined_rules Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00
aliased_rules Start work on running test corpus tests 2019-01-11 13:31:06 -08:00
aliased_token_rules Fix handling of token rules directly inside of alias, prec, or field. 2019-11-15 10:53:17 -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 Get logging flags working properly with test script 2019-01-15 13:21:48 -08:00
associativity_left Rename spec -> test 2017-03-09 20:40:01 -08:00
associativity_missing Ensure interpretations are in a predictable order in conflict messages 2019-02-08 17:11:44 -08:00
associativity_right Rename spec -> test 2017-03-09 20:40:01 -08:00
conflict_in_repeat_rule Avoid non-deterministic set iteration order when handling conflicts 2019-08-13 15:57:42 -07:00
conflict_in_repeat_rule_after_external_token Avoid non-deterministic set iteration order when handling conflicts 2019-08-13 15:57:42 -07:00
conflicting_precedence Ensure interpretations are in a predictable order in conflict messages 2019-02-08 17:11:44 -08:00
dynamic_precedence Fix parser generation error messages 2019-01-11 17:26:45 -08:00
epsilon_external_tokens Fix handling of zero-width external tokens at beginning of document 2019-04-08 15:01:52 -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 Start work on running test corpus tests 2019-01-11 13:31:06 -08:00
extra_non_terminals Allow non-terminal extras 2019-10-21 16:08:59 -07:00
extra_non_terminals_with_shared_rules Add test for non-terminal extras that share non-extra rules 2020-07-29 09:53:07 -07: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 Fix parser generation error messages 2019-01-11 17:26:45 -08:00
inverted_external_token Start work on running test corpus tests 2019-01-11 13:31:06 -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
named_rule_aliased_as_anonymous Handle named nodes aliased as anonymous nodes 2019-08-29 14:28:44 -07:00
nested_inlined_rules Handle inlined rules that contain other inlined rules 2017-07-20 15:29:06 -07:00
partially_resolved_conflict Fix non-deterministic conflict message order 2019-03-29 17:36:19 -07:00
precedence_on_single_child_missing Ensure interpretations are in a predictable order in conflict messages 2019-02-08 17:11:44 -08: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 Start work on running test corpus tests 2019-01-11 13:31:06 -08:00
precedence_on_token Fix parser generation error messages 2019-01-11 17:26:45 -08: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.