The Programming Languages Zoo

A potpourri of programming languages

comm

[source] [example]

A simple procedural langauge with integer arithmetic, local variables, conditional statements, while loops and printing. Programs are compiled to simple (simulated) machine code.

Abstract syntax

Integer expression e:

Boolean expression b:

Command c:

Compilation to machine code

The language is compiled to simplified machine code. Use the --code command-line option to see the compiled code.

The underlying machine has a fixed amount of RAM (configurable --ram command-line option), a program, the program counter, and a stack pointer. The stack grows downards, from the top of RAM towards the bottom.