tree-sitter/test/fixtures/test_grammars
2024-02-02 10:42:39 -05:00
..
aliased_inlined_rules Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
aliased_rules Avoid extracting default alias for extras 2022-08-10 07:27:34 -07:00
aliased_token_rules Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
aliased_unit_reductions Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
anonymous_tokens_with_escaped_chars Fix typos 2022-06-28 19:57:42 +08:00
associativity_left Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
associativity_missing Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
associativity_right Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
conflict_in_repeat_rule Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
conflict_in_repeat_rule_after_external_token Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
conflicting_precedence Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
dynamic_precedence Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
epsilon_external_tokens fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
epsilon_rules Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
external_and_internal_anonymous_tokens fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
external_and_internal_tokens fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
external_extra_tokens fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
external_tokens fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
external_unicode_column_alignment fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
extra_non_terminals Convert more test grammars from JSON to JS 2021-11-19 10:35:53 -08:00
extra_non_terminals_with_shared_rules Convert more test grammars from JSON to JS 2021-11-19 10:35:53 -08:00
get_col_should_hang_not_crash fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
immediate_tokens Convert more test grammars from JSON to JS 2021-11-19 10:35:53 -08:00
inline_rules Convert more test grammars from JSON to JS 2021-11-19 10:35:53 -08:00
inlined_aliased_rules Convert more fixture grammars from JSON to JS 2021-12-30 16:27:02 -08:00
inverted_external_token fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05:00
invisible_start_rule Convert more fixture grammars from JSON to JS 2021-12-30 16:27:02 -08:00
lexical_conflicts_due_to_state_merging Rename spec -> test 2017-03-09 20:40:01 -08:00
named_precedences Allow symbols to be used in precedence lists 2021-03-03 13:11:05 -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 Fix typos 2022-06-28 19:57:42 +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
unicode_classes Handle aliases in unicode property escapes in regexes 2021-08-18 22:22:46 -07:00
unused_rules Handle unused tokens 2017-03-09 21:16:37 -08:00
uses_current_column fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05: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.