Kenneth Skovhus
f226a4b55a
Add support for empty expansions ( #82 )
...
Fixes https://github.com/tree-sitter/tree-sitter-bash/issues/57
2020-05-15 12:32:47 -07:00
Nathan Sobo
1c48cd1676
Support ANSII-C quoting in strings prefixed with $
...
See
https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
for details
2019-07-26 11:29:35 -06:00
Max Brunsfeld
15a3a168f0
Handle
...
Fixes #39
2019-04-18 15:46:58 -07:00
Max Brunsfeld
25f56dd856
Allow $ at the end of a bare word
...
Fixes #38
2018-11-04 15:34:33 -08:00
Max Brunsfeld
8426c3fefd
Fix handling of delimiter characters as part of bare words
...
Fixes atom/atom#18387
2018-11-04 13:14:13 -08:00
Max Brunsfeld
a4fb636b2d
Handle shorthand file redirect command substitutions
...
Fixes #34
2018-10-18 15:31:24 -07:00
Max Brunsfeld
4fb4e2960d
Fix handling of escaped chars in strings
2018-10-18 15:28:46 -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
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
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
886a957d1e
Add support for strings ending with $ ( #24 )
2018-08-02 16:32:30 -07:00
Max Brunsfeld
065a4ec425
Rework test expressions
...
Fixes #11
2018-05-24 11:47:12 -07:00