Skip to content
Snippets Groups Projects
Commit b1a4b409 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

another grammar example

parent 002bfdb5
No related branches found
No related tags found
No related merge requests found
CFG (
{'S', 'B', 'C', 'D', 'E'},
{'a', 'b'},
{'S' -> 'D' 'S' | 'a' | 'C' 'D',
'C' -> 'D' 'a' 'B' | 'b',
'B' -> 'S' 'D' |,
'D' -> 'B' 'E',
'E' -> 'a' | 'C' 'D'
},
'D')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment