Skip to content

A random derivation generator for grammars compiled with the TatSu PEG/Packrat parser generator for Python.

License

Notifications You must be signed in to change notification settings

bookofproofs/TatSuRDG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TatSuRDG

A random derivation generator for grammars that were compiled with the TatSu PEG/Packrat parser generator for Python.

A typical application is testing grammars by generating some derivations and checking if they look like intended.

It is also possible to replace subrules of the grammar with constant (also empty) strings, so the derivations become more simple and more modular.

Regex patterns are derived using the rstr package.

About

A random derivation generator for grammars compiled with the TatSu PEG/Packrat parser generator for Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages