sf2xed/README

17 lines
625 B
Plaintext
Raw Permalink Normal View History

2018-07-12 14:34:24 +00:00
Project to translate smallfuck (with unbounded to the right tape) to xed.
2018-07-12 14:36:17 +00:00
Unlike the reqular version of smallfuck, this version is Turing complete.
2018-07-12 14:34:24 +00:00
2018-07-12 14:35:21 +00:00
The command created by sf2xed.py produces a replacement command that advances
2018-07-12 14:34:24 +00:00
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
2018-07-12 16:43:33 +00:00
You can also run the compiled result by giving sf2xed.py the -r argument.
2018-07-12 20:05:30 +00:00
All code is under Unlicense / CC0