Commit Graph

165 Commits

Author SHA1 Message Date
Max Brunsfeld 4fb4e2960d Fix handling of escaped chars in strings 2018-10-18 15:28:46 -07:00
Max Brunsfeld ac53999dee 0.13.4 2018-10-18 13:00:09 -07:00
Max Brunsfeld bdaf31057b Add raw (quoted) heredocs
Fixes #31
2018-10-18 12:55:14 -07:00
Max Brunsfeld 46cf157ad8 Handle escaped expansions in heredocs
Fixes #28
2018-10-18 11:12:48 -07:00
Max Brunsfeld cdbc8863cd Allow compound statements and redirects in more places
Fixes #35
2018-10-18 11:06:03 -07:00
Max Brunsfeld 5203b504db 0.13.3 2018-10-01 13:31:16 -07:00
Max Brunsfeld 246bad66dd Add double-paren expression
* Use the external scanner for regexes
* Add some missing operators

Fixes #22
Fixes #32
2018-10-01 13:29:04 -07:00
Max Brunsfeld 0123b9559f Allow semicolon before block in c-style for loop
Fixes #33
2018-10-01 12:48:50 -07:00
Max Brunsfeld 628c64cb29 0.13.2 2018-08-06 11:21:26 -07:00
Max Brunsfeld 6ff7fe3c7e Don't require statement terminator at EOF
Fixes #15
2018-08-06 11:18:33 -07:00
Max Brunsfeld da2ba9cfdf Allow backslashes between tokens
Fixes #14
2018-08-06 11:14:00 -07:00
Max Brunsfeld 0e172361a8 Support #*# operator in variable expansions
Fixes #10
2018-08-06 11:09:45 -07:00
Max Brunsfeld 3a9b32284e Allow `!` operator in variable expansions
Fixes #21
2018-08-06 10:44:13 -07:00
Kenneth Skovhus 08cf72b615 [WIP] Support multiple statements (#26)
* Rename prebuild target clashing with build target

* Add test:watch target and documentation

* Support multiple statements in substitutions

* Inline the _statements rule

This removes a reduction step by the `_statements -> _statement` rule,
which avoids a reduce/reduce conflict between `_statements` and
`command`.
2018-08-06 10:39:05 -07:00
Kenneth Skovhus 70d94eb826 Development experience (#25)
* Rename prebuild target clashing with build target

* Add test:watch target and documentation
2018-08-06 10:03:34 -07:00
Kenneth Skovhus 9bbd80dee1 Add support for C-style for statements (#23) 2018-08-05 19:25:19 -07:00
Kenneth Skovhus 886a957d1e Add support for strings ending with $ (#24) 2018-08-02 16:32:30 -07:00
Max Brunsfeld 0f29cf2972 0.13.1 2018-07-23 11:01:35 -07:00
Max Brunsfeld 56805a357f Add enrypted token for prebuild uploads on travis and appveyor 2018-07-23 11:01:32 -07:00
Stafford Brunk 5f6591e1ac Prebuild support (#20)
* Add prebuild support

* Add prebuild-install support

* Add repository field to package.json
2018-07-22 11:13:32 -07:00
Max Brunsfeld 9c446b3d70 0.13.0 2018-07-18 13:19:46 -07:00
Max Brunsfeld 7873b864b1 ⬆️ tree-sitter-cli (new ABI version) 2018-07-18 13:19:42 -07:00
Max Brunsfeld d4d694d66c 0.12.0 2018-06-15 14:05:31 -07:00
Max Brunsfeld 44b3de2594 ⬆️ tree-sitter-cli, add explicit word token 2018-06-15 14:05:05 -07:00
Max Brunsfeld 7b003599b3 Allow subshells in negated commands
Fixes #13
2018-05-24 15:00:53 -07:00
Max Brunsfeld 9544a6c959 0.11.2 2018-05-24 11:57:20 -07:00
Max Brunsfeld 53688f6034 ⬆️ tree-sitter-cli 2018-05-24 11:57:14 -07:00
Max Brunsfeld 065a4ec425 Rework test expressions
Fixes #11
2018-05-24 11:47:12 -07:00
Max Brunsfeld 7902804460 0.11.1 2018-05-24 10:15:49 -07:00
Max Brunsfeld cf49f3972f Use node 8 on travis 2018-05-24 10:12:12 -07:00
Max Brunsfeld bd788c8a7e Add appveyor badge to README 2018-05-24 10:09:19 -07:00
Max Brunsfeld 76a1f89e1d Add appveyor.yml 2018-05-24 10:08:20 -07:00
Max Brunsfeld 9d7da69b7c ⬆️ nan 2018-05-24 10:07:14 -07:00
Max Brunsfeld 73d6705bc2 Allow other redirects between a heredoc's delimiter and body
Fixes #16
2018-03-29 09:54:08 -07:00
Max Brunsfeld 51af55f6d8 0.11.0 2018-03-28 11:18:40 -07:00
Max Brunsfeld f478eaddb3 ⬆️ tree-sitter-cli 2018-03-28 11:18:32 -07:00
Max Brunsfeld 2d96fc5fcb Add more code to the case statements test 2018-03-16 15:41:09 -07:00
Max Brunsfeld b207579a5a 0.6.0 2018-03-05 17:44:38 -08:00
Max Brunsfeld 90552dc38b ⬆️ tree-sitter 2018-03-05 17:44:34 -08:00
Max Brunsfeld 98123999d3 0.5.5 2018-03-02 10:18:51 -08:00
Max Brunsfeld 68e93bd898 Allow for statements without in clauses 2018-03-02 10:18:42 -08:00
Max Brunsfeld 16b90823a2 0.5.4 2018-03-01 14:23:12 -08:00
Max Brunsfeld 87a832d94e Allow regexes after '==', not just '=~' 2018-03-01 14:22:38 -08:00
Max Brunsfeld 30844a0381 Allow $'\n' (whatever that is) 2018-03-01 14:15:15 -08:00
Max Brunsfeld c7484ad85f Allow ;; at end of line of case item 2018-03-01 14:04:29 -08:00
Max Brunsfeld 27b4b7835e Add update-known-failures script 2018-03-01 13:30:24 -08:00
Max Brunsfeld ae2eee1dc2 0.5.3 2018-03-01 11:22:35 -08:00
Max Brunsfeld 299c806538 Include known failures from bash-it's submodules 2018-03-01 11:16:35 -08:00
Max Brunsfeld c92b80e807 Parse a bunch of files from bash-it on CI 2018-03-01 11:10:20 -08:00
Max Brunsfeld 51b212b207 Allow redirects after bracket commands 2018-03-01 10:42:20 -08:00