Max Brunsfeld
d805715f4f
Regenerate with latest tree-sitter
8 роки тому
Max Brunsfeld
9655660732
0.3.0
9 роки тому
Max Brunsfeld
1b9531bb04
Merge pull request #6 from tree-sitter/use-contextual-renames
Distinguish variables, types, fields and labels using renames
9 роки тому
Max Brunsfeld
f433b2bf8a
Tweak identifier naming convention
9 роки тому
Max Brunsfeld
809cd89afe
Use new alias API
9 роки тому
Max Brunsfeld
6147b5ecca
Rename label_name -> label, extract rules for identifier renames
9 роки тому
Max Brunsfeld
b8509fdf21
Function calls have higher precedence than unary operators
9 роки тому
Max Brunsfeld
9516e76b1f
Regenerate parser
9 роки тому
Max Brunsfeld
7775b575e6
Differentiate between top-level items and those that appear in statement blocks
9 роки тому
Max Brunsfeld
66003e2afc
Rename type_clause -> type_descriptor and pull out the parens
9 роки тому
Max Brunsfeld
9e7706d922
Distinguish variables, types, fields and labels using renames
9 роки тому
Max Brunsfeld
debe919f84
Allow whitespace after the # in preprocessor directives
9 роки тому
Max Brunsfeld
d9c324ffce
Don't try to parse #if conditions as C expressions
Doing this required treating the newline that follows these conditions as significant
in order to avoid conflicts, but this caused problems for error recovery.
9 роки тому
Max Brunsfeld
70a4367af8
0.2.4
9 роки тому
Max Brunsfeld
eb82660b87
Generalize the ordering of type and declaration specifiers
9 роки тому
Max Brunsfeld
3f65e85781
Reuse declaration_specifiers rule in more places
9 роки тому
Max Brunsfeld
ab0162ce37
Make member_declaration_list its own rule
9 роки тому
Max Brunsfeld
42436c29ae
Allow simple abstract function declarators as in `sizeof(void * ())`
9 роки тому
Max Brunsfeld
b895c3f778
0.2.3
9 роки тому
Max Brunsfeld
34245e5ba8
Export precedences (so C++ grammar can use them)
9 роки тому
Max Brunsfeld
997aee5bdf
0.2.2
9 роки тому
Max Brunsfeld
39a662907b
Make a named node for argument lists in call expressions
9 роки тому
Max Brunsfeld
76b912ef4b
0.2.1
9 роки тому
Max Brunsfeld
973f25a20e
Add some example files to parse on CI
9 роки тому
Max Brunsfeld
281e0cd60d
Add 'u' and 'l' suffixes on number literals
9 роки тому
Max Brunsfeld
eaa878ce95
Allow preprocessor conditionals inside functions
9 роки тому
Max Brunsfeld
e64b56050e
Add preprocessor if blocks
9 роки тому
Max Brunsfeld
8e8a968e3b
Fix handling of backslashes in string literals
9 роки тому
Max Brunsfeld
9b715a2620
Add concatenated strings
9 роки тому
Max Brunsfeld
fb51d81c99
Add comma expressions, make parenthesized expressions named rules
9 роки тому
Max Brunsfeld
c2a7bd2d9c
Allow any type name in a macro-defined type
9 роки тому
Max Brunsfeld
eed36b3f88
Allow object-like defines whose values start with parentheses
9 роки тому
Max Brunsfeld
be2676ed3e
Allow empty initializer lists
9 роки тому
Max Brunsfeld
f3ea61c8fe
Add C++ linkage specifiers, since they appear in .h files
9 роки тому
Max Brunsfeld
367cd73ee2
Allow unsigned, short, etc to be their own types
9 роки тому
Max Brunsfeld
f4fca3e638
⬆️ tree-sitter, rename grammar_test to corpus
9 роки тому
Josh Vera
ed4d8d2a42
Merge pull request #5 from tree-sitter/bump-tree-sitter
bump tree-sitter
9 роки тому
joshvera
322a0abdda
bump tree-sitter
9 роки тому
Max Brunsfeld
12491d4dc7
0.2.0
9 роки тому
Max Brunsfeld
0122ab6e6d
⬆️ tree-sitter-cli
9 роки тому
Max Brunsfeld
1e46713a22
⬆️ tree-sitter-cli again
9 роки тому
Max Brunsfeld
d881240ded
0.1.5
9 роки тому
Max Brunsfeld
0bb5d2faed
⬆️ tree-sitter-cli
9 роки тому
Timothy Clem
e87026a962
Bump tree-sitter-cli dev dep
9 роки тому
Max Brunsfeld
4c2ba61d52
Merge pull request #4 from tree-sitter/regen-parser
Regenerate with most recent tree-sitter
9 роки тому
Rick Winfrey
01496030f6
Regenerate with most recent tree-sitter
9 роки тому
Max Brunsfeld
e833e464ae
0.1.4
9 роки тому
Max Brunsfeld
46e5a1af6a
Add associativity to pointer declarators
9 роки тому
Max Brunsfeld
0377cb3a65
Regenerate files with latest tree-sitter
9 роки тому
Max Brunsfeld
daf4024b4a
Use renamed tree-sitter-cli module
9 роки тому