構文解析器
program ::= NEWLINE* , [ stmt , { NEWLINE+ , stmt } , NEWLINE* ] ; stmt ::= ( PRINT_INT | PRINT_STR ) , expr ; expr ::= term , { PLUS , term } ; term ::= INT_LIT | STRING_LIT ;