esolang

Glypho

Every four symbols make one instruction, named only by which of them repeat, so aabc and xxyz are the same command.

2005 · esolangs.org

Tested with 4 examples and 2 known programs · Hello World on Try It Online: identical · Test method

Run it

Hello World: Glypho

Expected output

Hello World!

Output


What it is

Glypho (langs/dialects). Glypho: four symbols are one instruction, named by which repeat; o prints mod 256, i pushes 0 at end of input the table of Brian Thompson's own glypho.txt (esofiles), which TIO runs; the wiki's table swaps + [ - ] e

Read the story

Glypho (shorthand) (langs/dialects). Glypho: four symbols are one instruction, named by which repeat; o prints mod 256, i pushes 0 at end of input the table of Brian Thompson's own glypho.txt (esofiles), which TIO runs; the wiki's table swaps + [ - ] e

How its machine works

Its machine has a stack of values.

Examples

Example: Glypho

Expected output

echo

Output


Hello World: Glypho (shorthand)

Expected output

Hello World!

Output


Example: Glypho (shorthand)

Expected output

echo

Output


Quirks

  • A run stops after 3,000,000 steps.

Pattern-based

Stack-based

Write your own in Run Convert a program from Glypho

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: glypho.

Command line

shib run glypho -e '--#*##*+**-#-#*-+##++*-----+-*-#+*+*+---*-##---+-*#*' --input 'echo'
shib manual glypho

Source

Module
langs/dialects/ports.js
Interpreter
langs/dialects/stack.js, shibboleth/rng.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org