You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, every time we need a token, we just ask the lexer to get the next token, we work with it and the cycle repeats. Instead what we need is for the lexer to run ONCE before the compiler and generate a list of tokens. We can then work on these tokens.
This will allow us to ignore unused procedures, add preprocessing and add better debugging information.
The text was updated successfully, but these errors were encountered:
Currently, every time we need a token, we just ask the lexer to get the next token, we work with it and the cycle repeats. Instead what we need is for the lexer to run ONCE before the compiler and generate a list of tokens. We can then work on these tokens.
This will allow us to ignore unused procedures, add preprocessing and add better debugging information.
The text was updated successfully, but these errors were encountered: