7cf2c3d806
A reserved word should not be special when it is an argument to a command. This commit makes the parser treat reserved words as normal arguments. Note that this change exposed problems in many of the parser tests, which relied on reserved words delimiting commands where they should not. Those are now fixed. * geesh/parser.scm (make-parser): Add reserved words to the default 'WORD*' rule, and use a new rule without reserved words for command names. * tests/parser.scm: Add a test for reserved words as arguments, and fix old tests that relied on the old, incorrect behaviour. |
||
---|---|---|
geesh | ||
scripts | ||
tests | ||
tools | ||
.dir-locals.el | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
README | ||
bootstrap | ||
configure.ac | ||
guix.scm | ||
pre-inst-env.in |
README
Geesh is a shell interpreter written in Guile Scheme.