You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-demo/tacogram-demo/grammar.rkt

7 lines
195 B
Racket

#lang brag
taco-program : /"\n"* taco-leaf* /"\n"*
taco-leaf : /left-paren (taco | not-a-taco){7} /right-paren
taco : /"%"
not-a-taco : /left-paren /right-paren
left-paren : "#"
right-paren : "$"