Press "Enter" to skip to content

Sebastian Gierłowski Blog Posts

Factor

Finally the last method Factor. It recognizes if a token is a number and otputs assembler code if true, else it prints an error. Simple,…

Term

Today it will be term() function and it looks like this: This time the method in question recognizes multiplication and division operations. Next it will be…

Expresion

Now its time to tackle the expression method. Unlike the previous function this method actually produces some assembler code, it recognizes addition and subtraction and…