Program for translating smallfuck with unbounded tape to xed
Go to file
Juhani Krekelä 2ad2e62a5a Dual-license under CC0 as well 2018-07-12 23:05:30 +03:00
.gitignore First commit 2018-07-12 15:12:27 +03:00
README Dual-license under CC0 as well 2018-07-12 23:05:30 +03:00
UNLICENSE First commit 2018-07-12 15:12:27 +03:00 Add a way to run the programs 2018-07-12 19:43:33 +03:00


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 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 the -r argument.

All code is under Unlicense / CC0