Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 651 Bytes

File metadata and controls

68 lines (44 loc) · 651 Bytes

Nur's Data Types

Null

A value represents emptiness

null

Number

A 64-bit floating-points number specified by IEEE 754

55
55.0
0.5
-1.5
200.19

Boolean

A true or A false

true
false

String

An immutable list of characters

"Hello, World!"

Array

A list of values

[0, 1, "two", false, 4]

Map

A map of a string to any value

{"a": "b"}

Function

A callable value that is called by the virtual machine and must be defined by the user

fn a, b {

}

Native Function

A callable value that is called by the host machine and must be defined by the virtual machine