This project implements the Boolfuck language in Tracery, relying on a bug which allows delayed, programmatic expansion of Tracery variables.
To convert a Boolfuck program defined in program.bf
to Tracery, run the following command:
python bftracery.py program.bf
To convert the Boolfuck program and simulate keyboard input from input.txt
, run the following command:
python bftracery.py program.bf -i input.txt
In both cases the resulting Tracery grammar will be written to program.bf.json
.