Program for translating smallfuck with unbounded tape to xed
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Juhani Krekelä 2ad2e62a5a Dual-license under CC0 as well 5 years ago
.gitignore First commit 5 years ago
README Dual-license under CC0 as well 5 years ago
UNLICENSE First commit 5 years ago
sf2xed.py Add a way to run the programs 5 years 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