An object-oriented language Boa
I have added another language, called Boa, to the Programming Languages Zoo. It is an object-oriented language with the following features:
- integers and booleans as base types,
- first-class functions,
- dynamically typed,
- objects are extensible records with mutable fields,
- there are no classes, instead we can define “prototype” objects and extend them
to create instances.
Boa> let x = 42 with (fun x -> x + 1000) x = 42 with <fun> Boa> x + 10 52 Boa> x 17 1017 Boa> x x 1042
Isn’t that cute?