bangyen / esolangs

Python implementations of different esoteric programming languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esolang Interpreters

Language grade: Python License: GPL v3
Implementations of different esoteric programming languages. Most of the interpreters/compilers work by reading the file specified by the first command line argument.

Implemented

Register-based Register-based (cont.) Tape-based Tape-based (cont.) Stack-based Other
BIO Movesum ASCII art SLOW ACV MAMMALIAN BFStack Bitdeque
Dig Polynomial Back Suffolk Eval Clockwise
dotlang Qoibl BrainIf 6-5 Modulous Container
DSDLAI RAM0 circlefuck The Temporary Stack Keys
huf Sophie EXCON Nevermind
Lightlang WII2D Minifuck ZTOALC L
Minsky Swap

Extra

Implementations written in languages other than Python.

C++ C++ (cont.) x86 Assembly Lean Ruby Rust
Basicfuck Trash Brainpocalypse Albabet bit~ LaserFuck
Dimensional 2dFish NoComment BF-PDA Number Seventy-Four Unsquare
Forþ %^2^-1 Stun Step EXCON Unsquare
Kak 123 Number Seventy-Four 3x
Painfuck 2 Bits, 1 Byte

Compilers

Sorted by target language.

x86 Assembly C
BFStack BF-PDA
Home Row BFStack
Jaune EXCON
Suffolk RAM0
Unsquare

Notes

  • For circlefuck, the narcissist program is the only program for which the interpreter doesn't work. The extended quine program doesn't work because it modifies a + symbol, causing it to increment incorrectly.
  • For dotlang, the interpreter skips over strings and warp names after parsing them, so printing a string with spaces is possible. If this additional feature seems to be a negative rather than a positive, feel free to create an issue.
  • For Jaune, only one character can be input at a time.
  • For Suffolk, although the language is specified to run on an infinite loop, a second command line argument may be given to set the number of loops. The default is 10.
  • For 123, input is given at the end of the program. The two are separated by a single |.

Miscellaneous

  • The binary.py program implements a given boolean function in Dig.

  • The generate.py program outputs programs which output a given string in different languages. The supported languages are as follows:

    • BFStack
    • BrainIf
    • Container
    • Forþ (Forth)
    • LaserFuck
    • Painfuck
    • Suffolk
    • 123
    • %^2^-1 (Magnitude)

About

Python implementations of different esoteric programming languages.

License:GNU General Public License v3.0


Languages

Language:Python 59.6%Language:C++ 20.5%Language:Rust 5.1%Language:Assembly 4.2%Language:C 4.2%Language:Lean 3.8%Language:Ruby 2.2%Language:R 0.4%