Skip to content

N* v2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 10:57
baa3c09

🎉 Additional features

  • include sections allow to include code from other files found in the include path
    • Those cannot be cyclic, i.e. you cannot include X in Y if you already included Y in X
    • It is impossible to include the same file multiple times. If you are familiar with C or C++, that's what header guards are for, but they are completely implicit here!
    • Includes work using an include path, which is simply a set of path to search in. The include path always contains at least the current directory, but can be extended using the -I <PATH> (or -I=<PATH>) flag
    • A simple example of including files can be found in the examples directory, namely the true.nst file

🐛 Some bug fixes

  • a bug in the ELF object generation library causing a crash has been fixed. This was triggered when the current file didn't include global symbols (for now, all functions in the code section are marked as global).