Closed siliconlad closed 1 month ago
If you're confused about the Group
token, it's basically a container for anything split by one of the following dividers >
, <
, >>
, ;
, &&
, ' '. It also joins the items within a group into a single argument before passing it to the command. This allows detecting arguments like hi$FOO
.
The Lexer needs a refactor me rekons: https://github.com/siliconlad/aish/issues/91
This was a pain in the ass because of edge-cases like