Scanner portion of the compiler.