Skip to content

Count the number of possible traces of Tracery grammars

License

Notifications You must be signed in to change notification settings

rfdj/TraceryCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

TraceryCounter

Count the number of possible traces of Tracery grammars.

This script runs over all children and expands all their variables in order to count them.

Usage

Simplest:

python tracerycounter.py yourGrammarFile.json

More 'advanced':

Optionally, run it with the-o parameter to use a starting node different from the default origin.

python tracerycounter.py yourGrammarFile.json -o someOtherOrigin

About

Count the number of possible traces of Tracery grammars

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages