|
I finished the Tokenizer, now that I have all the tokens available for a particular program I am confused to implement the CompilationEngine as I don't know how to begin!
Since a program can start with any token( although most of them begin with class keyword), it can be a class, function or variable declaration etc How should I go about it?
Should I take each token and check for what type of token is it? and call for a subroutine?
|