Language
Language copied to clipboard
First fully functional test case.
Renamed langNodes into test/testLangNodes.
Also, the current code doesn't take into account whitespace to separate terminals, I added it to the test grammar for hello world, but you might want a more principled approach for it in replaceStringsWithTerminalObjects.
Trying to use a regex for whitespace fails at the moment.