Skip to content

mikeeeeeeeeeeeeeeee/TM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

Build with Qt (https://www.qt.io/ide/)

Examples

Go to ./scripts

Binary add plus 1 (or not)

echo T111 | ./tm_bplus1

returns: R1000

echo R111 | ./tm_bplus1

returns: R111

IF

input: Tiu
if i=1 runs: ./tm_bplus1 with u as input
if i=0 runs: ./tm_bminus1 with u as input

echo T0100 | ./IF | ./THEN | ./tm_bplus1 | ./ELSE | ./tm_bminus1 | ./ENDIF

returns: T011

About

Turing machine in c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published