~theonlymrcat/33

An register-based esolang with 33 alphabetic commands
6 months ago
6 months ago

#33 (Zig)

33 is a register-based esolang with 33 alphabetic commands. It has 2 registers each for integers, strings, and lists of strings, and supports looping, standard input/output, and even functions!

This is the Zig implementation of the language. It differs slightly from the C++ implementation. It is documented at https://mrcat.au/projects/33

#Usage

This project was tested against Zig 0.11.0 (which is provided in the flake's dev shell).

It can be compiled with zig build, or executed directly with zig build run. It expects one command-line parameter, which is the 33 source file to run. Some example files are provided in the examples/ directory of this repository.

$ zig build run -- examples/fizzbuzz.33