aboutsummaryrefslogtreecommitdiff
path: root/TuringMachines.icl
AgeCommit message (Collapse)AuthorFilesLines
2015-09-03More compact & nicer toString for states; added ! for step functions; bugfix ↵Camil Staps1-1/+5
for tape length The new toString takes only one line and is a better reproduction of the notation from Sudkamp, Languages and Machines, 1997. The IterableClass functions now have ! on input types that are iterated, so that these arguments are computed for sure. There was a bug (!! index too large or the like) for some machines that 'walked off the tape' on the right side. The tape is now auto- matically extended with Nothing (blank) cells. When the machine walks off the tape on the *left*, the machine still terminates abnormally.
2015-09-02Initial commitCamil Staps1-0/+81