1
0
Fork
You've already forked thue
0
Miscellaneous Thue programs. Public domain.
2025年08月11日 23:05:57 -05:00
copy-i.thue initial commit 2025年08月11日 23:05:57 -05:00
double-constant-string.thue initial commit 2025年08月11日 23:05:57 -05:00
double-with-two-symbols.thue initial commit 2025年08月11日 23:05:57 -05:00
miu.thue initial commit 2025年08月11日 23:05:57 -05:00
move-across.thue initial commit 2025年08月11日 23:05:57 -05:00
README.org initial commit 2025年08月11日 23:05:57 -05:00

Thue

Thue is an esolang. These are some short programs in Thue. The interpreter I wrote for Thue has no comment syntax, so the programs are all described here.

Programs

The Gödel, Escher, Bach block

These were developed in sequence, culminating in /tykozic/thue/src/branch/main/miu.thue. That program generates random strings of the MIU formal system given by Douglas Hofstadter in chapter 1 of the book Gödel, Escher, Bach.

/tykozic/thue/src/branch/main/double-constant-string.thue

This program doubles a string of I's by duplicating each in place.

/tykozic/thue/src/branch/main/double-with-two-symbols.thue

Like the previous, but with both I's and U's.

/tykozic/thue/src/branch/main/move-across.thue

This program demonstrates moving characters across a string without otherwise modifying it.

/tykozic/thue/src/branch/main/copy-i.thue

This program demonstrates properly copying an arbitrary string.

/tykozic/thue/src/branch/main/miu.thue

This program generates a random string of the MIU system.