Skip to content

asynchroza/nulascript

Repository files navigation

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

About

Dynamically typed programming language with references

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published