Skip to content

Funny implementation of a few Turing Machines in SED editor

License

Notifications You must be signed in to change notification settings

pcerman/tmachine-sed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turing Machine (tmachine-sed)

Funny implementation of a few Turing Machines in SED editor.

License

This code is released under MIT License.
Copyright (c) 2016 Peter Cerman (https://github.com/pcerman)

Pre-requisites

I have used SED editor version 4.2.2. Probably other versions works too but I have not tried them.

Usage

echo 'aabb' | sed -rf tm.AnBn-1
echo 'aabb' | sed -rf tm.AnBn-2
echo '1100#0110' | sed -rf tm.and-1
echo '1100#0110' | sed -rf tm.and-2
echo '1100#0110' | sed -rf tm.and-3
echo '101' | sed -rf tm.cnt2
echo '12' | sed -rf tm.cnt10

About

Funny implementation of a few Turing Machines in SED editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published