This is the Thue Programming Language processer written in Go.
Thue is the esoteric programming language designed by Chris Pressey in 2000. Thue is based on a string rewriting system, it is also turing complete!
Also see the article of Wikipedia.
You can use go get
to install, following to:
$ go get github.com/MakeNowJust/gothue
And if you had set $PATH
to $GOPATH/bin
, to be avaiable to gothue
command.
$ gothue -h
gothue - Thue interpreter written in Go
usage:
gothue [-s=<seed>] [-lrdh] <file name>
option:
-l execute leftmost matches first
-r execute rightmost matches first
-d debug mode
-s=<seed> set a seed (default is current unix time)
-h show this help
$ gothue _example/hello.t # what text happen printing??? it is randomly.
This is released under the MIT License.