Commit Graph

11308 Commits (88222e83c48bb191b78a8098040d55786e6268ca)
 

Author SHA1 Message Date
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
Max Brunsfeld 6346f107dd ⬆️ nan 2015-03-07 16:41:44 +07:00
Max Brunsfeld 9964b428fd Add pointer operations 2014-10-30 12:41:09 +07:00
Max Brunsfeld ebd581c2bd Add compound literals 2014-10-29 00:48:29 +07:00
Max Brunsfeld 485141c5c0 Add functions w/ pointer return types 2014-10-29 00:37:06 +07:00
Max Brunsfeld 5da068fe83 Check in generated files
This makes it easier to pull in this package from github
in a dependent module's package.json
2014-10-29 00:30:14 +07:00
Max Brunsfeld afac264377 Add #ifndef et al 2014-10-28 08:55:14 +07:00
Max Brunsfeld ccdbf809ad Allow pointer types in typedefs 2014-10-28 08:24:03 +07:00
Max Brunsfeld 5c22801870 Add char literals 2014-10-28 08:20:02 +07:00
Max Brunsfeld 11ce0da541 Add while statements 2014-10-28 08:10:28 +07:00
Max Brunsfeld 9e566ff055 Add for statements, relational operators 2014-10-28 08:07:10 +07:00
Max Brunsfeld 1e109ab1f8 Extract constants for all precedence values 2014-10-20 12:58:33 +07:00
Max Brunsfeld 0c06bdb026 Reorder grammar rules logically 2014-10-19 09:38:11 +07:00
Max Brunsfeld 58d5c1c94d 0.0.8
Update headers from tree-sitter core in npm package
2014-10-17 22:17:13 +07:00
Max Brunsfeld ae0ed71150 0.0.7 2014-10-13 20:26:06 +07:00
Max Brunsfeld 122cc20e35 0.0.6 2014-10-06 19:56:40 +07:00
Max Brunsfeld 6bfe9623ec Fix handling of backslashes in strings 2014-10-06 19:56:30 +07:00
Max Brunsfeld 6f8a3ccfc7 0.0.5 2014-10-06 09:05:02 +07:00
Max Brunsfeld c8f7f295b1 Add var declarations as for loop control statements 2014-10-06 09:04:56 +07:00
Max Brunsfeld 9a78d35391 0.0.4 2014-10-06 08:48:17 +07:00