pull/10/head
Matthew Butterick 8 years ago
parent 6221ca5959
commit c4f90daf74

@ -3,9 +3,9 @@ b-program : b-line*
b-line : @b-line-number b-statement (/":" b-statement)* b-line : @b-line-number b-statement (/":" b-statement)*
b-line-number : INTEGER b-line-number : INTEGER
@b-statement : b-rem @b-statement : b-rem
| b-print | b-print
| b-goto | b-goto
| b-end | b-end
b-rem : REM b-rem : REM
b-print : /"print" (STRING | b-expr)* b-print : /"print" (STRING | b-expr)*
b-goto : /"goto" b-expr b-goto : /"goto" b-expr

Loading…
Cancel
Save