The Programming Languages Zoo

A potpourri of programming languages

boa

[source] [example]

A simple object-oriented language with eager evaluation, first-class functions, and dynamic types. It is based on a notion of objects as extensible records. There are no classes.

The language has the following features:

An interesting feature of the language is that, since “everything is an object”, a value may behave simultaneously as an integer, boolean, function, and a record. See examples below.

Example

The file example.boa shows basic examples and implements recursion and lists using objects.