Draft:Bosh

From Esolang
Jump to navigation Jump to search

Bosh, created by User:Icecream17, contains a hodgepodge of features just randomly added together.

BaseCollection Class

A BaseCollection represents a bunch of values

Here in this specification, the empty BaseCollection looks like <<>>, with any values separated by commas: <<1,2>>

Property Class

A property has two parts, a name and a value.

Spec-wise it looks like name -> value

Variables are defined as properties of the global object

BaseMap Class

A map is a collection of properties

BaseObject Class

BaseObjects have two maps called properties and internal properties.
Spec-wise, properties are shown like: thing.property, while internal properties are shown like: thing.property

When a property is a function, it's called a method.

BaseSequence Class

represents ordered BaseCollection

BaseData Class

represents a sequence of bytes

Integer Classes