Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1014 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 1014 Bytes

nulascript

Unit tests

Functional tests

REPL build

References

def referred = 5;

def a = &referred;

a = 10;
log(referred);      # 10

log(*a + referred); # 20

Conditionals

def x = 5;

if (x is 10) {  # "is" is interchangeable with "=="
    log("hello world");
} else {
    log("bye world");
}

if (x is not 10) {  # "is not" is interchangeable with "!="
    log("hello world");
} else {
    log("bye world");
}

Find more code examples here