Go to file
Timothy Sample 7cf2c3d806 Fix handling of reserved words in commands
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.
2018-07-15 19:46:14 -04:00
geesh Fix handling of reserved words in commands 2018-07-15 19:46:14 -04:00
scripts Initial commit 2018-01-31 14:52:05 -05:00
tests Fix handling of reserved words in commands 2018-07-15 19:46:14 -04:00
tools Initial commit 2018-01-31 14:52:05 -05:00
.dir-locals.el Add parser 2018-02-01 00:14:12 -05:00
.gitignore Initial commit 2018-01-31 14:52:05 -05:00
COPYING Initial commit 2018-01-31 14:52:05 -05:00
Makefile.am Add word 2018-07-15 19:46:14 -04:00
README Initial commit 2018-01-31 14:52:05 -05:00
bootstrap Initial commit 2018-01-31 14:52:05 -05:00
configure.ac Initial commit 2018-01-31 14:52:05 -05:00
guix.scm Initial commit 2018-01-31 14:52:05 -05:00
pre-inst-env.in Initial commit 2018-01-31 14:52:05 -05:00

README

Geesh is a shell interpreter written in Guile Scheme.