Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;; Sample entry
- ;;; *************************
- ;;; Number: 10
- ;;;
- ;;; String: Foo
- (def ^:const my-grammar
- "Obfuscated sample of my grammar"
- "entry = start num <nl> str
- start = #'\\*+' <nl>
- num = <'Number: '> #'[\\d]+' <nl>
- str = <'String: '> #'.+' <nl>
- nl = '\\n'
- ")
Advertisement
Add Comment
Please, Sign In to add comment