MicroLang
Jump to navigation
Jump to search
MicroLang is my tiny programming language.
Idea
Inspired by Snowflake, MicroLang operates on a program and an interpreter.
Instructions
The instructions are simple. They are:
| Number | Name | Operands | Effect |
|---|---|---|---|
| 0 | NOP | None | Does nothing. |
| 1 | REPLACE | A, B | Replaces A with B in the program. |
| 2 | DEFINE | A | Defines a new function which does A. |