Releases: margual56/TuringMachine
v3.1.1 - More bugfixes
v3.1.0 - Bug fixes
What's Changed
- Bugfixes - General improvements in #16
Full Changelog: v3.0...v3.1.0
Extra
I have written JUnit tests to provide reassurance that the machine works. You can see if the tests pass in the README, with tha badge.
v3.0 - Stable
v3.0.2-alpha (Bug fixes)
Bug fixes + Added a verbose flag for the headless mode
What's Changed
- Verbose output, fixed bug and more by @margual56 in #10
Full Changelog: v3.0.1-alpha...v3.0.2-alpha
v3.0.1-alpha
What's Changed
- Added CLI options
- You can now run in headless mode! (Print the output of the program and exit: no GUI, no problem)
- You can print the help
- You can print an example program directly from the CLI
- Improved animation speed formula (not perfect yet)
by @margual56 in Pull Request #7
Full Changelog: v3.0-alpha...v3.0.1-alpha
Redesign! New tape and new haed
There is a new tape and a new head 😃
Improvements:
- Now the tape moves instead of the head
- Colors in the tape! Visual feedback on the elements of the tape that have a value of 1
- The tape is animated! There are "smooth" transitions
- The current state is displayed in the head too
- Made room for the keybinding cheatsheet
- The head is 100% procedually generated (using vertices), in order to keep the filesize to a minimum
Known bugs:
- When going from "moving right" to "moving left", the animation kinda jumps and it looks awful
Added speed controls
Added the ability to speed up / slow down the speed of the simulation.
Controls:
spacebar
-> pause/resume (or restart if the execution has finished)right arrow
-> Advance just one instruction forwardenter
-> Jump to the end of the executionr
-> Stop, load a new program and run itESC
-> Exit cleanly+
-> Increase speed-
-> Decrease speed=
-> Restore initial speed
Improved controls
This is the new mapping of controls:
spacebar
-> pause/resume (or restart if the execution has finished)right arrow
-> Advance just one instruction forwardenter
-> Jump to the end of the executionr
-> Stop, load a new program and run itESC
-> Exit cleanly
Turing machine - fully working
Ported the whole project to java, using Processing's core.jar
library. This allowed me to ask for a Turing Machine program file on startup.
This also allowed me to export as a .jar
, which is cross-platform. Enjoy!
Future versions might include some extra functionality such as a menu to change programs or something similar.
Turing Machine
Download the version for your system and enjoy!
Notes
- Check out the "Examples" folder from the repository, it contains cool examples of Turing Machine code :)
- The windows version does not need java to execute (it is included)
- The rest of systems need to install java 8 in order to execute it
Known bugs
- There is no option to choose the file to execute (yet). At the moment, you have to put the program you want to run in the same folder as the .exe and rename it to "program.tm". This is the first priority fix.
- There is no UI to adjust the speed of execution or customize anything (font size, colors, etc).
- If the tape becomes too long, there is no scroll option