rable 0.2.0

A Rust implementation of the Parable bash parser — complete GNU Bash 5.3-compatible parsing with Python bindings
Documentation
# Line continuation (backslash-newline) tests
# Backslash-newline should be removed in quoting contexts

=== line continuation in double quotes
echo "hello \
world"
---
(command (word "echo") (word "\"hello world\""))
---


=== line continuation in parameter expansion default
echo ${x:-hello \
world}
---
(command (word "echo") (word "${x:-hello world}"))
---


=== line continuation in locale string
echo $"hello \
world"
---
(command (word "echo") (word "\"hello world\""))
---


=== line continuation in conditional expression
[[ "hello \
world" == "hello world" ]]
---
(cond (cond-binary "==" (cond-term ""hello world"") (cond-term ""hello world"")))
---