From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the programming language. For information on the Chile de Arbol pepper, see Chile de árbol.

Arbol is a programming language which has been primarily developed for use in Genetic Programming experiments. It is a 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 the interpreter is written in OCaml following the implementation of the Spineless Tagless G-Machine.

Each program structure is compiled to intermediate bytecode for execution.

External links[edit]