UMBC CMSC 331
Tuesday, October 4, 2011
Example python programs that use grammars
We put online two small example programs that use grammars.
cfg
has a simple program generate.py that can generate strings from a grammar.
chart
has a program chart.py that can parse strings using a grammar.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment