Skip to content

Elementary 1D cellular automaton implementation in sed.

Notifications You must be signed in to change notification settings

Circiter/elementary-ca-in-sed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

elementary-ca-in-sed

An attempt to implement the one-dimensional elementary cellular automaton in sed. This particular example shows how to implement the rule-110 ca. Edit the file elementary-ca.sed to try out other rules (you can find rules 30 and 90 in the source code or just write your own).

Usage examples:

echo auto | ./elementary-ca.sed
# Or
echo 000000000001 | ./elementary-ca.sed

TODO:

  • Add decimal-to-binary converter to be able specify a rule number as the input to the script.

Releases

No releases published

Packages

No packages published

Languages