Core Functions

Global

FunctionDescription
mload
import
__ismainsrc__

Structures

FunctionDescription
set_typename

All types

FunctionDescription
==
!=
copy
str

nil

FunctionDescription
==
!=

bool

FunctionDescription
<
>
<=
>=
==
!=
!

int

FunctionDescription
+
-
*
/
%
+=
-=
*=
/=
%=
**
++x
x++
--x
x--
u-
<
>
<=
>=
==
!=

flt

FunctionDescription
+
-
*
/
+=
-=
*=
/=
++x
x++
--x
x--
u-
round
<
>
<=
>=
==
!=

string

FunctionDescription
+
*
+=
*=
<
<=
>=
==
!=
at(idx: int) -> stringReturns the character at index idx, or nil if out of range
[idx: int] -> stringReturns the character at index idx, or nil if out of range

Examples:

let io = import('std/io');
let hello = 'hello!';
io.println(hello.at(0));
io.println(hello[6]);

Output:

h
(nil)