new sample grammar

pull/10/head
Matthew Butterick 7 years ago
parent 3bc9fc3173
commit c5a1126754

@ -0,0 +1,7 @@
#lang brag
expr : term (/'+' term)*
@term : factor (/'*' @factor)*
factor : ("0" | "1" | "2" | "3"
| "4" | "5" | "6" | "7"
| "8" | "9")+
Loading…
Cancel
Save