Skip to content

Revilotom/NimTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NimTM

A turing machine emulator written in nim.

Build

nim c --d:release tm.nim

Usage

./tm <descriptor filename> <input filename>
time ./tm machines/5busyBeaver inputs/blank
tape: 1_11 ...
length: 6145
head moves: 11798826
Input was accepted

real	0m1.650s
user	0m1.650s
sys	0m0.000s

As you can see it takes less than 2 seconds to execute the five state busy beaver.

About

A turing machine emulator written in nim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages