Arbol

From Wikipedia, the free encyclopedia

Arbol is programming language, primarily developed to serve for Genetic Programming experiments. It is functional programming language inspired by the ideas of other small and esoteric languages.

An Arbol program looks like:

// Simple I/O
((Z a)b)     = (((a b)a)I1)      // some input
(((ZZ a)b)c) = ((a b)a); O1 = c  // and output
main         = ((Z ZZ) Z)

The first version of interpreter is written in OCaml following the implementation of Spineless Tagless G-Machine.

Each program structure is compiled to intermediate bytecode for execution.

[edit] External link