Core Objects

There are several objects available to any program.


This is an object representing your program. The file passed as an argument to the compiler contains the module definition. Therefore, the module object contains all other objects and definitions of your program.

Module object inherits void by default. But this can be changed in the title.


This is a representation of void type. Every other object inherits void.


This is an object of type void, which value is always false. Its value is claimed and can not be overridden by descendants.


The root object contains language intrinsics. These are directives, basic types, and other objects available to any program.

Also, the root is a last resort of the name lookup. This means that if some name can’t be found in the object hierarchy of the program, it will be searched for in the root.

Here are some of the objects nested inside the root as its fields:

Basic Types

Every basic type is represented by a built-in object, accessible as a field of root:

Field Description
Float 64-bit floating point number
Integer 64-bit integer
String Unicode string
Link Immutable link to another object
Variable A link to another object, which can be modified at run time
Array Array, which elements could be modified at run time
Row Immutable array
Directive A prototype of every directive
Macro A prototype of every macro


Directive Meaning
Use namespace Makes the members of another module or object available in the file this directive appears in.
Use object Makes another object or module available in the file this directive appears in, and optionally declares an alias for it.

Other Modules

Modules can be reused in your program. Use namespace and Use object directives exist for that.

For example, the following code:

Use module 'Console'

makes all public members of Console module available in the current file.

And this code:

Use object _ from 'Console' as 'con'

creates an alias con for module Console visible in the current file. You can access the fields of Console by the code like this:

Con: main
Con: print