N
news.tkdsoftware.com
Could someone show me a simple class structure example on how I'd approach
modeling my AST classes if my grammar was to parse a simple multiple
statement program which accepted statements in this format:
PRINT arithmetic_expression
So I could write a program that has:
PRINT 2+3*5
PRINT 6/3+2
Thanks in advance!
--
modeling my AST classes if my grammar was to parse a simple multiple
statement program which accepted statements in this format:
PRINT arithmetic_expression
So I could write a program that has:
PRINT 2+3*5
PRINT 6/3+2
Thanks in advance!
--