Skip to content

abnuo/thue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thue

Thue interpreter in python, plus utilities for generating Thue programs

Files

thue.py - Main thue interpreter, to be used as a library
text2thue.py - Converts text file to markov(?) Thue program. No command line arguments, so edit the script. Results are mostly nonsense example: Funond tais the I Smyotalkyest
thue2tracery.py - Converts thue to Tracery, No command line arguments, so edit the script.

Examples

import thue

c = "*::=Hello World!\n::=\n*"
t = thue.VM(c)
print(t.run())

Releases

No releases published

Packages

No packages published

Languages