Tiny Basic Grammar... ... expression -> term ("+" term | "-" term) ; term -> factor ("*" factor | "/" factor) ; factor -> number | var -> "("expression")" ; number -> DIGIT DIGIT* ; var -> LETTER ;
... expression -> term ("+" term | "-" term) ; term -> factor ("*" factor | "/" factor) ; factor -> number | var -> "("expression")" ; number -> DIGIT DIGIT* ; var -> LETTER ;