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.
Well, the proprocessor is sort of line based but it is mostly token based and will have to handle stuff such as lines which split tokens apart along with double line comments and such.
Will need to change the preprocessing code a bit to handle future cases of where includes will exist so that way input includes are handled in a stack based manner as needed.