Imports

You can import other Sepynode files using import followed by the file path, relative to the current file.

import "imports/test.spn";
greet();

Imported files can define functions that become available globally.

imports/test.spn:

func greet() {
    println << "hello from another script!";
}