Commit Graph

15327 Commits (ca9b7da43f079a27bccfd5457276fa51937c6cb0)
 

Author SHA1 Message Date
Max Brunsfeld c1d86fa575 Add error recovery within declarations 2015-11-08 22:44:33 +07:00
Max Brunsfeld 8abf957a44 Remove spurious fragment from grammar URL in readme 2015-11-08 22:43:14 +07:00
Max Brunsfeld cf0ef32a0e Merge pull request #3 from robrix/this-expressions
`this` expressions
2015-11-04 09:05:52 +07:00
Rob Rix 513b2a3faa Correct a test involving `this`. 2015-11-04 10:27:24 +07:00
Rob Rix f52f7ac225 Rebuild. 2015-11-04 10:27:16 +07:00
Rob Rix 0e6a45207a Add a (failing) test of `this`. 2015-11-04 10:22:22 +07:00
Rob Rix c8be170687 Add `this_expression` to `_expression`. 2015-11-04 09:42:35 +07:00
Rob Rix 5c96e4d1f7 Add a `this` expression. 2015-11-04 09:42:23 +07:00
Max Brunsfeld c33aae8d9e Merge pull request #1 from maxbrunsfeld/mb-fix-preprocessor-issues
Fix preprocessor issues
2015-11-01 21:57:41 +07:00
Max Brunsfeld fb4ace990e Fix issues with preprocessor defininitions 2015-11-01 21:53:45 +07:00
Max Brunsfeld 52df4807bd ⬆️ tree-sitter-compiler 2015-11-01 21:53:22 +07:00
Max Brunsfeld 74444328e7 Drop the 'node-' prefix from the repo name
/cc @robrix I'm renaming the repo, since it's not just for node.js.
2015-10-29 12:14:41 +07:00
Max Brunsfeld 3204b80fa7 Drop the 'node-' prefix from the repo name
The generated parser can be used from any language
2015-10-28 21:31:51 +07:00
Max Brunsfeld 1844ad2d93 Add some error recovery points 2015-10-28 17:52:12 +07:00
Max Brunsfeld f6dc4d7942 Add structure to #ifdef blocks 2015-10-28 10:04:38 +07:00
Max Brunsfeld d6d31778ba Allow trailing commas in enum specifiers 2015-10-28 09:50:21 +07:00
Max Brunsfeld 8190b6ea7f Add hexadecimal, binary and unsigned integer literals 2015-10-27 23:57:24 +07:00
Max Brunsfeld 3695e0dfaf Handle comma-separated expressions in for loops 2015-10-26 23:37:34 +07:00
Max Brunsfeld fa30191e88 Update grammar to use new tree-sitter API
Also, rewrite the way declarators are handled to produce a clearer AST
2015-10-26 23:31:13 +07:00
Max Brunsfeld 5acee08f86 Simplify handling of line-breaks
Also, recompile parser after tree-sitter bugfix
2015-10-26 17:23:46 +07:00
Max Brunsfeld 07e352a421 Fix tests 2015-10-26 15:46:16 +07:00
Max Brunsfeld 127f97d83a Temporarily disallow comma expressions in most places 2015-10-24 14:27:18 +07:00
Max Brunsfeld 73746423f5 Expect terminator after do while loop 2015-10-24 13:59:39 +07:00
Max Brunsfeld d5d38e851b Allow alphabetical regex flags besides i and g 2015-10-24 12:52:02 +07:00
Max Brunsfeld e599acb158 Add missing pre-increment operators 2015-10-23 12:02:15 +07:00
Max Brunsfeld da200b925e Prefer object literals to empty statement blocks 2015-10-23 12:01:20 +07:00
Max Brunsfeld 7378d5a3a7 Add modulo operator 2015-10-22 21:10:56 +07:00
Max Brunsfeld 49d71baa08 Add some missing bitwise operators 2015-10-22 21:06:16 +07:00
Max Brunsfeld bc94ac1806 Use new travis infrastructure 2015-10-20 23:57:03 +07:00
Max Brunsfeld df52ba776e Update to new tree-sitter API 2015-10-20 22:46:17 +07:00
Max Brunsfeld 9bc2e2e19f Upgrade tree-sitter-compiler 2015-09-11 10:32:23 +07:00
Max Brunsfeld d6d926183c Update tree-sitter-compiler, use new grammar API 2015-09-11 10:12:50 +07:00
Max Brunsfeld cabc2bbfe1 Upgrade tree-sitter-compiler, get tests passing again 2015-09-11 09:56:15 +07:00
Max Brunsfeld 809c155a31 Link to source grammar in README 2015-04-17 11:43:37 +07:00
Max Brunsfeld 280ff87fd0 Use latest tree-sitter-compiler 2015-04-17 11:37:23 +07:00
Max Brunsfeld ca30310c72 Update grammar for latest tree-sitter-compiler
* No more keyword function
* Add required precedences
2015-03-23 22:58:15 +07:00
Max Brunsfeld ede17def38 Check in generated files for now 2015-03-13 12:25:07 +07:00
Max Brunsfeld 6775e737a6 Fix error in sizeof expressions 2015-03-09 19:22:41 +07:00
Max Brunsfeld 87ad2e9c69 Base grammar on existing C99 grammar 2015-03-09 19:08:09 +07:00
Max Brunsfeld ae3a41b13f Add all storage classes 2015-03-08 13:11:58 +07:00
Max Brunsfeld e1871c5213 Allow identifiers starting w/ underscores 2015-03-08 12:55:26 +07:00
Max Brunsfeld cdb08d5aff Add math assignment operators 2015-03-08 01:23:04 +07:00
Max Brunsfeld 81d2af76bd Add subscript operator 2015-03-08 00:21:46 +07:00
Max Brunsfeld 845921d558 Add storage classes to function defs 2015-03-08 00:08:51 +07:00
Max Brunsfeld 1bc8eeb11b Use new format in grammar file 2015-03-07 23:53:52 +07:00
Max Brunsfeld 386f48d111 0.0.2 2015-03-07 23:51:31 +07:00
Max Brunsfeld 261237e6c6 0.0.1 2015-03-07 23:51:18 +07:00
Max Brunsfeld 3293e97bbc Test against node 0.12 on travis 2015-03-07 16:52:08 +07:00
Max Brunsfeld 4d74578e4c ⬆️ nan, regenerate parser w/ no tree-sitter 2015-03-07 16:51:46 +07:00
Max Brunsfeld a7b1daf72d Test against node 0.12 and iojs on travis 2015-03-07 16:43:07 +07:00