Unoffical Japanese Documentation and Sample of Transceternal Esoteric Programming Language
Unofficial website about Transceternal programming language (mainly written in Japanese, work in progress)
Transceternal can be downloaded from author’s GitHub repository https://github.com/Hakerh400/esolangs/.
$ git clone --depth 1 https://github.com/Hakerh400/esolangs/
$ cd esolangs
$ yarn install
To run the interpreter:
(write program into program.txt)
(write initial arguments into input.txt)
$ touch output.txt
$ node transceternal program.txt input.txt output.txt
$ cat output.txt
For detailed explanation, see the official website. This section summarizes the language specification.
Transceternal is “graph-rewriting paradigm programming language”. This means all program-related ones including source code, arguments, output are treated unitedly as graph structure.
the overview of the graph is as follows: (work in progress, I should translate into English):
On the official website, cat
program is written as follows:
catacat
An another cat
program can be written with 3 bytes:
aba
This instruction uses cat
as an example:
B0
(To finish program)B1
(To find B1
)B0
(To find B0
)This can be created with just two nodes.
A
:= Node No.1B
:= Node No.2By omitting tail, the nodes’ pointer points to themselves.
ababa
The 4th byte means that 1-pointer of b
is also b
, and 5th byte means that 1-pointer of a
is also a
. These two bytes can be omitted as follows:
aba
This gets 3-byte cat
command.
To the extent possible under law, hiromi_mi has waived all copyright and related or neighboring rights to Transceternal Programs by hiromi_mi . This work is published from: 日本.
Feedbacks, questions, contributions are always welcome, for example by creating issues, sending pull/merge requests, or find me at Fediverse @hiromi_mi@mblg.hiromi-mi.jp or at Twitter @_hiromi_mi.