A Rust based, recursive descent parser for Xonsh.
- install it with pip
pip install xonsh-rd-parser
- Use it to parse Xonsh CFG
from xonsh_rd_parser import Parse
Parse("print($HOME)").parse()
- Run
xonsh
withenv XONSH_RD_PARSER=1 xonsh
to use the new parser.
This library is based on ruff's own Python parser.