Program for translating smallfuck with unbounded tape to xed

Juhani Krekelä 2ad2e62a5a Dual-license under CC0 as well 1 year ago
.gitignore 62f93875c1 First commit 1 year ago
README 2ad2e62a5a Dual-license under CC0 as well 1 year ago
UNLICENSE 62f93875c1 First commit 1 year ago
sf2xed.py 2ed9adcc93 Add a way to run the programs 1 year ago

README

Project to translate smallfuck (with unbounded to the right tape) to xed.
Unlike the reqular version of smallfuck, this version is Turing complete.

The command created by sf2xed.py produces a replacement command that advances
the program execution by one step each time it is executed.

To produce a tape usable by the step command, input your tape in the form:

0 0 ^0 1 0

Which says there is a tape with 5 cells, second from right being 1 and all
others being 0, and the tape head is in the middle of this tape

You can also run the compiled result by giving sf2xed.py the -r argument.

All code is under Unlicense / CC0