Skip to content

melvinzhang/text-register-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Register Machine Emulator

A Text Register Machine emulator written in C++ 11. It is based on the 1# language introduced in Introduction to Computability Theory by Lawrence S. Moss

Building the binary

You'll need Make and g++ to compile the source code. Running

make

will produce the binary trm

Command line options

The program takes two optional arguments.

The first is the maximum number of steps to execute the machine.

The second is the frames per second of the animation. A setting of zero means there is no animation. A negative number disables the animation.

The default is 1000 steps with no animation.

Generating the self progam, a quine

make self.trm

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published