Tree @master (Download .tar.gz)
The Thue Programming Language
This is Cat's Eye Technologies' distribution of Thue, an esoteric programming language designed by John Colagioia. Thue is a non-deterministic string-rewriting language, based on a formalism called a semi-Thue system, but also including some programming-oriented features, like input and output.
The specification can be found in the file thue.txt in the doc directory.
John's implementation of the language, in C, is in the file thue.c in the
src directory, and can, for all intents and purposes, be considered the
reference implementation. There is no Makefile but an executable can be
built by running the included build.sh script, which is trivial.
In the src directory, there are also two other implementation of Thue:
thue.py, in Python, written by Frédéric van der Planckethue.rb, in Ruby, written by Chris Pressey
There is an assortment of example Thue programs in the eg directory. The
credits for these are as follows:
add_bin.t: Frédéric van der Planckeedgcase?.t: Chris Presseytruth-machine.t: Keymakerquine.t: TSUYUSATO Kitsune- all others: John Colagioia
More information on Thue can be found on the esolangs.org wiki entry for Thue.
Contents in this distribution are "essentially in the public domain" (scare quotes intentional.) See the file LICENSE for more information.
Commit History
@master
git clone https://git.catseye.tc/Thue/
- Added tag rel_1_5_2015_0827 for changeset bd7299e8b300 Chris Pressey 10 years ago
- Merge pull request #1 from MakeNowJust/quine-example Chris Pressey 11 years ago
- add my copyright TSUYUSATO Kitsune 11 years ago
- add quine written in Thue TSUYUSATO Kitsune 11 years ago
- Add build script and .{hg,git}ignore files. Chris Pressey 11 years ago
- Added tag rel_1_5_2012_1028 for changeset 1ca49ba200b7 Chris Pressey 11 years ago
- Dist. org. guidelines: add LICENSE as a separate file. catseye 13 years ago
- Added tag rel_1_5_2012_0916 for changeset 22d25e868d92 catseye 13 years ago
- Add truth-machine example. catseye 13 years ago
- Convert CRLFs to LFs. catseye 13 years ago
- Update README. catseye 13 years ago
- Add 3 Thue programs to test edge cases, and fix thue.py's `raise`s. catseye 13 years ago
- Add public-domain implementation of Thue in Ruby. catseye 13 years ago
- Add README, and take executable permissions off most everything. Cat's Eye Technologies 14 years ago
- Added tag rel_1_5_2010_1218 for changeset 935f97d5bb1d Cat's Eye Technologies 14 years ago
- Import of Thue distribution version 1.5 revision 2010.1218 sources. Cat's Eye Technologies 14 years ago
- Added tag rel_1_4_2004_0301 for changeset 3f3acd9208c4 Cat's Eye Technologies 14 years ago
- Initial import of the Thue distribution, version 1.4 revision 2004.0301. Cat's Eye Technologies 14 years ago