~theonlymrcat/33-zig

Esoteric programming language with 33 commands (Zig implementation)
Implement "O" command
Update Zig to 0.12.0
Add readme and examples

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~theonlymrcat/33-zig
read/write
git@git.sr.ht:~theonlymrcat/33-zig

You can also use your local clone with git send-email.

#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