Adds a rudimentary parser to JBash, certainly better than the original string-splitting algorithm we had previously.
Notable features
Quoting is implemented, through single, double, and backslash. These will allow you to represent certain special characters as themselves.
Tokenization for certain special characters and sequences has been implemented, though their use-cases have yet to be implemented.
Limitations
The parser needs to be made more robust to allow for multiple-line sequences of input.
Certain notable expansions have yet to be implemented. For example, "Hello $planet" will just output Hello $planet -- it will not look for the "planet" environment variable and substitute.
Adds a rudimentary parser to JBash, certainly better than the original string-splitting algorithm we had previously.
Notable features
Limitations
"Hello $planet"
will just outputHello $planet
-- it will not look for the "planet" environment variable and substitute.