Max Brunsfeld
|
e26cbb62a5
|
Add Tree::edit unit tests
|
2019-01-31 08:15:30 -08:00 |
|
Max Brunsfeld
|
f6d014f3f4
|
Write tree_sitter/parser.h file in generate command
|
2019-01-28 14:23:41 -08:00 |
|
Max Brunsfeld
|
6d8ef48dad
|
Make test subcommand exit 1 if tests fail
|
2019-01-27 09:53:49 -08:00 |
|
Max Brunsfeld
|
5927e104c2
|
Check tree consistency in randomized tests
|
2019-01-26 22:22:29 -08:00 |
|
Max Brunsfeld
|
af83e8034e
|
Move test helpers into their own folder
|
2019-01-25 16:40:26 -08:00 |
|
Max Brunsfeld
|
5a12fbd927
|
Verify changed ranges in randomized tests
|
2019-01-25 15:20:34 -08:00 |
|
Max Brunsfeld
|
233d616ebf
|
Add random mutation tests
|
2019-01-25 12:05:21 -08:00 |
|
Max Brunsfeld
|
e305012b31
|
Loosen keyword identification criteria slightly
|
2019-01-21 15:33:43 -08:00 |
|
Max Brunsfeld
|
196339aaa9
|
Assert no memory leaks by stubbing malloc/free in the test suite
|
2019-01-21 14:22:35 -08:00 |
|
Max Brunsfeld
|
6105bf9909
|
Include error recovery examples in test suite
|
2019-01-20 16:58:49 -08:00 |
|
Max Brunsfeld
|
f6cdd5e3d4
|
Loosen criteria for identifying conflict-free tokens for error recovery
|
2019-01-20 16:58:31 -08:00 |
|
Max Brunsfeld
|
9e610bf88e
|
0.14.0-beta3
|
2019-01-18 15:16:51 -08:00 |
|
Max Brunsfeld
|
ff41f05a20
|
Fix computation of following tokens
|
2019-01-18 15:16:20 -08:00 |
|
Max Brunsfeld
|
31bdf5eb97
|
Fix handling of JavaScript errors
Refs #258
|
2019-01-18 09:40:09 -08:00 |
|
Max Brunsfeld
|
ed195de8b6
|
rustfmt
|
2019-01-17 17:16:04 -08:00 |
|
Max Brunsfeld
|
cbcc61a8cf
|
Get parse command handling multiple files, add --time, --quiet flags
|
2019-01-17 17:15:10 -08:00 |
|
Max Brunsfeld
|
652eb3bbb6
|
0.14.0-beta2
|
2019-01-17 15:17:55 -08:00 |
|
Max Brunsfeld
|
c204b5e728
|
Print help/version info when run w/ no subcommand
|
2019-01-17 15:17:36 -08:00 |
|
Max Brunsfeld
|
53c8eaa4c2
|
Create a wrapper script for npm package to fix npm install issues
|
2019-01-17 15:15:34 -08:00 |
|
Max Brunsfeld
|
c27f776d41
|
Fix word token index issue in a different way
Refs https://github.com/tree-sitter/tree-sitter/issues/258
|
2019-01-17 13:18:59 -08:00 |
|
Max Brunsfeld
|
8f4096e5cb
|
Give more informative error messages when failing to write files
|
2019-01-17 12:52:05 -08:00 |
|
Max Brunsfeld
|
bb5dedfb1e
|
Fix another token conflict detection bug
|
2019-01-17 12:44:35 -08:00 |
|
Max Brunsfeld
|
9f7079c9c5
|
Ensure that the word token has a low numerical index
Fixes https://github.com/tree-sitter/tree-sitter/issues/258
|
2019-01-17 12:44:14 -08:00 |
|
Max Brunsfeld
|
3d11388cd1
|
Fix test subcommand bugs
* Log session was dropped before the parser
* Whitespace between close parens was not stripped
|
2019-01-17 12:40:21 -08:00 |
|
Max Brunsfeld
|
d52a11fd03
|
Avoid using a string literal to pass grammar path to JS
Backslashes in windows path were getting interpeted as escape characters.
|
2019-01-17 10:09:03 -08:00 |
|
Max Brunsfeld
|
d903371709
|
Remove noisy logging
|
2019-01-17 10:07:58 -08:00 |
|
Max Brunsfeld
|
e4b9d9dfa9
|
Fix token conflict detection bugs
|
2019-01-16 20:57:31 -08:00 |
|
Max Brunsfeld
|
ae07d2d6e4
|
Build 32-bit executables on 32-bit appveyor builds
|
2019-01-16 19:22:33 -08:00 |
|
Max Brunsfeld
|
4689cadf9d
|
Make downloaded binary executable in intsall script
|
2019-01-16 13:59:37 -08:00 |
|
Max Brunsfeld
|
87c068faa9
|
Remove unused dependencies
|
2019-01-16 13:53:20 -08:00 |
|
Max Brunsfeld
|
a0a3903f76
|
Generate binding.gyp, binding.cc, and index.js
|
2019-01-16 13:53:01 -08:00 |
|
Max Brunsfeld
|
564c5e39b6
|
0.14.0-beta1
|
2019-01-16 13:07:54 -08:00 |
|
Max Brunsfeld
|
e7bb57550b
|
Use gzip for release assets so they can easily be extracted from node
|
2019-01-16 13:07:54 -08:00 |
|
Max Brunsfeld
|
b0fe816441
|
Add npm module
|
2019-01-16 11:42:50 -08:00 |
|
Max Brunsfeld
|
ef735eb942
|
Upload binary artifacts from CI builds
|
2019-01-16 10:12:43 -08:00 |
|
Max Brunsfeld
|
d23a03bdf1
|
Represent ParseItemSet as a sorted Vec, not a BTreeMap
|
2019-01-15 16:37:54 -08:00 |
|
Max Brunsfeld
|
0ee11584a7
|
Add -xc compiler flag for pure-C external scanners
|
2019-01-15 16:19:47 -08:00 |
|
Max Brunsfeld
|
ceff3936ef
|
Unify logic for handling tokens that match separators into one place
|
2019-01-15 16:10:52 -08:00 |
|
Max Brunsfeld
|
522021b107
|
Fix NFA generation w/ nested groups
|
2019-01-15 15:57:29 -08:00 |
|
Max Brunsfeld
|
d8ab36b2a5
|
Fix bugs in handling tokens that overlap with separators
|
2019-01-15 13:21:48 -08:00 |
|
Max Brunsfeld
|
b799b46f79
|
Handle repetition range operators with commas in regexes
|
2019-01-15 13:21:48 -08:00 |
|
Max Brunsfeld
|
0a2d72d956
|
Determine language name from package.json, not directory
|
2019-01-15 13:21:48 -08:00 |
|
Max Brunsfeld
|
a8292f4fe9
|
Load all fixture grammars dynamically
This way the build doesn't take forever any time a single grammar has
been regenerated.
|
2019-01-15 13:21:48 -08:00 |
|
Max Brunsfeld
|
5c3c1dd0bd
|
Get logging flags working properly with test script
|
2019-01-15 13:21:48 -08:00 |
|
Max Brunsfeld
|
19b2addcc4
|
Fix bug in symbol enum code generation
|
2019-01-14 14:08:07 -08:00 |
|
Max Brunsfeld
|
def5884b59
|
Allow passing grammar JS or JSON path to generate command
|
2019-01-14 14:07:42 -08:00 |
|
Max Brunsfeld
|
e2717a6ad1
|
Preprocess regexes to allow non-standard escape sequences
Also allow unescaped curly braces to match literal curly braces when
they don't form a valid repetition operator.
|
2019-01-14 14:05:19 -08:00 |
|
Max Brunsfeld
|
2e009f7177
|
Avoid writing empty initializer list for alias sequences
|
2019-01-12 21:57:34 -08:00 |
|
Max Brunsfeld
|
545e840a08
|
Remove stray single quotes in symbol name strings
|
2019-01-12 21:42:31 -08:00 |
|
Max Brunsfeld
|
6f242fda0c
|
Fix edge case in flatten rule
|
2019-01-11 17:43:42 -08:00 |
|