Companion

object Companion

Functions

Link copied to clipboard
fun createAtom(name: A_String, issuingModule: A_Module): AvailObject

Create a new atom with the given name. The name is not globally unique, but serves to help to visually distinguish atoms.

Link copied to clipboard
fun createSpecialAtom(name: String): AvailObject

Create a new special atom with the given name. The name is not globally unique, but serves to help to visually distinguish atoms. A special atom should not have properties added to it after initialization.

Link copied to clipboard
fun objectFromBoolean(aBoolean: Boolean): A_Atom

Convert a Kotlin Boolean into an Avail boolean. There are exactly two Avail booleans, which are just ordinary atoms, trueObject and falseObject, which are known by the Avail virtual machine.

Properties

Link copied to clipboard
val falseObject: A_Atom

The atom representing the Avail concept "false".

Link copied to clipboard
val trueObject: A_Atom

The atom representing the Avail concept "true".