github.com/Adriandmen/05AB1E

A concise stack-based golfing language

Open this visualization on its own page →

Contributors

22

Lines of Code

1,594

From

2015-12-21

To

2020-10-23

About Adriandmen/05AB1E

05AB1E is an esoteric stack-based golfing language designed for code golf competitions, where the goal is to solve programming challenges in the fewest bytes possible. The language is written in Elixir and compiled to a binary called "osabie" that can execute 05AB1E programs stored in files. Despite being optimized for base conversion initially, it has evolved into a more general-purpose language with a comprehensive set of commands documented in its reference materials.

The interpreter operates on a stack-based memory model where numbers and values are pushed onto a stack and consumed by operations like multiplication, which takes the top two elements and produces a result. Programs are written as concise sequences of commands and literals, with features like automatic string completion and flexible number parsing to minimize byte count. The language supports various debugging modes that can display the stack state and environment after each command execution, along with command-line options for timing execution and controlling lazy evaluation.

05AB1E can be installed by cloning the repository and compiling with Elixir's Mix build tool, with versions 1.9.0 or higher required. The language has an active online interpreter available for trying code interactively, and the project maintains community contributions documented through a wiki of commands and features. It caters to competitive programmers and code golf enthusiasts seeking to craft minimal byte solutions to programming puzzles.

Share this video