numlang

Crates.ionumlang
lib.rsnumlang
version0.1.3
sourcesrc
created_at2024-08-24 01:59:56.188907
updated_at2024-08-24 02:40:26.30094
descriptionA compiler for an esolang that uses hexadecimal
homepage
repository
max_upload_size
id1349766
size22,399
Aito Stukas (Aityz)

documentation

README

Numlang

An esoteric programming language that uses hexadecimal.

Usage

Install the compiler with cargo install --locked numlang. Get help using numlang --help.

Syntax

Basic Operations

1 -> Move pointer right by one
2 -> Move pointer left by one
3 -> Increment value by one
4 -> Decrement value by one

File I/O

5 -> Read byte from stdin to pointer location
6 -> Print current byte to stdout
7 -> Print bytes in stack to stdout

Stack Manipulation

8 -> Add current byte to stack
9 -> Remove newest item from stack
a -> Clear stack
b -> Write stack length to current byte

Looping

c -> Open loop
d -> Close loop

Commit count: 0

cargo fmt