Skip to content

NLang 0.1.0

Choose a tag to compare

@dliting dliting released this 30 Aug 11:16
· 32 commits to master since this release

First public release of NLang.

NLang is a statically-typed scripting language extracted from a game engine I previously developed, shipped as a standalone teaching/research project: a compiler front end (ncc), a custom bytecode VM (nvm), a disassembler (ndisasm) and a Qt5 IDE (nide).

NLang IDE

Downloads (Windows x64)

  • NLang-0.1.0-win64.zip — portable: unzip and run bin\nide.exe
  • NLang-0.1.0-win64.exe — NSIS installer (Start Menu shortcut, defaults to C:\Program Files\NLang)

Both packages contain the full toolchain, runnable examples and the bundled offline documentation site (also reachable from the IDE Help menu). Packaging is verified per build: layout audit, offline docs-site audit, and a real compile-and-run smoke test of examples/hello.n with the packaged tools.

Language highlights

  • Static typing with classes, structs, interfaces and enums; generics via built-in List<K> / Dict<K,V>
  • Function and method references (Func), exception handling with finally, string interpolation, switch, foreach over arrays and collections
  • Explicit cross-module imports (.nproj projects, external .nmod modules)
  • Standard library: io / math / fs namespaces plus built-in string methods

Notes

  • The executables link the MSVC runtime dynamically — install the VC++ Redistributable if Visual Studio 2022 is not present.
  • The installer defaults to C:\Program Files\NLang (needs admin); copy examples/ to a writable folder before opening them in the IDE.

Test baseline at tag: 821 end-to-end tests and 32 ctest suites, all passing.

Building from source, the language reference and indexed examples: see the repository README.