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 |
|
Max Brunsfeld
|
c76a155174
|
Fix escaping of characters in C strings
|
2019-01-11 17:43:27 -08:00 |
|
Max Brunsfeld
|
1468b349b5
|
Ensure 'src' directory exists before writing src/parser.c
|
2019-01-11 17:39:16 -08:00 |
|
Max Brunsfeld
|
6592fdd24c
|
Fix parser generation error messages
|
2019-01-11 17:26:45 -08:00 |
|
Max Brunsfeld
|
88f1c4af8e
|
Ensure the .tree-sitter directory exists
|
2019-01-11 14:56:33 -08:00 |
|
Max Brunsfeld
|
fa283dcf27
|
Use the compiler environment vars computed by the cc config
|
2019-01-11 14:44:32 -08:00 |
|
Max Brunsfeld
|
e64f7a64a1
|
Start work on running test corpus tests
|
2019-01-11 13:31:06 -08:00 |
|
Max Brunsfeld
|
0d85a1ef53
|
Exclude final newlines from inputs when parsing corpus files
|
2019-01-11 09:48:45 -08:00 |
|
Max Brunsfeld
|
cffe80bfad
|
Fix tie-breaking via cascade ordering in property sheets
|
2019-01-11 09:48:19 -08:00 |
|
Max Brunsfeld
|
272046a250
|
Reorganize tests - move them all into the CLI crate
|
2019-01-10 17:11:57 -08:00 |
|
Max Brunsfeld
|
ae6dbb945b
|
Avoid using unix-specific methods on windows
|
2019-01-10 16:11:19 -08:00 |
|
Max Brunsfeld
|
38417fc8a1
|
Port over remaining tests about property sheet generation
|
2019-01-10 15:17:38 -08:00 |
|
Max Brunsfeld
|
1dfbe495ed
|
Get property sheet compilation working
|
2019-01-10 13:12:16 -08:00 |
|
Max Brunsfeld
|
6bd550ca87
|
Start work on property sheet compilation
|
2019-01-09 18:10:32 -08:00 |
|
Max Brunsfeld
|
c0fad8b3c4
|
Write parser.c in generate command
|
2019-01-09 14:43:49 -08:00 |
|
Max Brunsfeld
|
2e8b2ab8fb
|
Give strings more implicit precedence than immediate tokens
|
2019-01-09 09:59:46 -08:00 |
|
Max Brunsfeld
|
6972a8e3e8
|
Add logging when deciding not to merge parse states
|
2019-01-09 09:58:45 -08:00 |
|
Max Brunsfeld
|
98807d2053
|
Add debug and debug-graph flags to parse and test commands
|
2019-01-08 21:03:51 -08:00 |
|
Max Brunsfeld
|
6c4d00aad5
|
Print diffs when tests fail
|
2019-01-07 22:01:40 -08:00 |
|
Max Brunsfeld
|
20fcffb393
|
Add parse subcommand
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
|
2019-01-07 17:57:36 -08:00 |
|
Max Brunsfeld
|
8291d294fb
|
Add test subcommand
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
|
2019-01-07 17:57:27 -08:00 |
|
Max Brunsfeld
|
f059557a9d
|
Move parser generation code in to 'generate' module within CLI crate
|
2019-01-07 10:23:01 -08:00 |
|
Max Brunsfeld
|
4e29fe69df
|
Reduce lex table size by merging compatible entry point states
|
2019-01-07 09:59:04 -08:00 |
|