DISCLAIMER: These notes are from the defunct k8 project which precedes SquirrelJME. The notes for SquirrelJME start on 2016/02/26! The k8 project was effectively a Java SE 8 operating system and as such all of the notes are in the context of that scope. That project is no longer my goal as SquirrelJME is the spiritual successor to it.
For the context tokenizer, I should make it easier for the compiler.
Everything from the tokenizer will just be an enumeration so that equals on a String will never be the case. I will need to rename the old tokenizer to make room for the new one.
The hasNext for tokenizer should just add any tokens which are added.
Having the checks for syntax validity in the second level tokenizer makes parsing the code much easier because everything is as to be expected when it is read.