Skip to content

hnez/pyturi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTuri

A simple and rather fragile Python clone of the vturi Turing machine simulator.

Installation

PyTuri is designed to be used with Python 3, wich comes pre-installed on many modern Linux distributions or can be installed via your package manager of choice.
Windows is neither tested nor supported but should run mostly out of the box.

Usage

To assemble a PyTuri source code type:

$./turias.py lowpass.vtr lowpass.ctr

to execute the generated bytecode type:

$./turi.py lowpass.ctr itape.tpe otape.tpe

Where itape.tpe is the input tape for the Turing machine and otape.tpe ist the output tape of the machine. itpe.tpe has to be created in advance, but can be an empty file.

$touch itpe.tpe

The tape files consist of a list of numbers seperated by newlines.

About

A Python clone of the vturi Turing machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages