Arbol

From Wikipedia, the free encyclopedia

This page is about the programming language. For information on the Chile de Arbol pepper, see List of capsicum cultivars.

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 links