Define and lex our own set of custom Token types. This will allow us to match on whitespace and handle words correctly in the future. Additional changes to the lexer will be needed after this PR to support IO redirection, and variables/environments.
[x] All default features working
[x] Shebang syntax working
[x] If/then/elif/else/fi working
[x] Remove Cond node and just use And and Or
[x] Compound and Subshell should own Commands not Program
Define and lex our own set of custom
Token
types. This will allow us to match on whitespace and handle words correctly in the future. Additional changes to the lexer will be needed after this PR to support IO redirection, and variables/environments.Cond
node and just useAnd
andOr
Compound
andSubshell
should ownCommand
s notProgram
debug!
tests, since we've changed this macrofixes #22