diff --git a/brag/brag/examples/add-mult.rkt b/brag/brag/examples/add-mult.rkt new file mode 100755 index 0000000..bde2ac5 --- /dev/null +++ b/brag/brag/examples/add-mult.rkt @@ -0,0 +1,7 @@ +#lang brag + +expr : term (/'+' term)* +@term : factor (/'*' @factor)* +factor : ("0" | "1" | "2" | "3" + | "4" | "5" | "6" | "7" + | "8" | "9")+