Go 6502 Parsing Expressions
defaultHandling Simple Expressions After the previous post, our compiler currently handles single integers, storing them in the A register for later use. Now, let’s try to use them for something simple. One way to look at programs is as a collection of statements and expressions–statements do something, while expressions are something–certainly an oversimplification, but useful here. And in fact, we already handle expressions, our single digit integers are expressions, single digit expressions.
Read more...