Chaos - Forth-like minimal language

Chaos is a very simple stack-based language designed mainly as a testbed for ColdStore.

In keeping with this, Chaos is able to generate calls to all of the elements of the ColdStore virtual protocol on the objects it creates. It could also function as a nanocode level programming environment for ColdStore.

Chaos has a very simple syntax:

  1. Everything in quotes (") is a string constant.
  2. Everything in braces {} is a string constant.
  3. Everthing beginning with single quote (') is a function reference
  4. Everything beginning with a dollar sign ($) is a variable reference.
  5. Everything that is a sequence of numerics is an integer constant
  6. Everything else is whitespace.

Chaos' semantics are also simple.