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:
cat program can be written with 3 bytes:
This instruction uses
cat as an example:
B0(To finish program)
This can be created with just two nodes.
A:= Node No.1
B:= Node No.2
By omitting tail, the nodes’ pointer points to themselves.
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:
This gets 3-byte