Skip to content

NLang 0.3.0

Latest

Choose a tag to compare

@dliting dliting released this 31 Aug 05:54

Added

  • nide: the About dialog now shows the project's GitHub address
    (https://github.com/dliting/nlang) as a blue underlined link; clicking
    it opens the default browser.

Changed

  • Language: && and || now short-circuit — the skipped operand is
    never evaluated (no side effects, no throws), matching C/C++/Java/Python
    conventions. Results stay int 0/1. Operands of &&, || and !
    must now be int: float/string operands were previously read as raw bits
    with meaningless truthiness and are now a compile error.

Breaking: the eager OP_LogicalAnd/OP_LogicalOr bytecode instructions
were removed — old .nmod modules must be recompiled.

As with previous releases, the zip and the NSIS installer contain the same
layout: bin/ with nide, ncc, nvm, ndisasm and the Qt runtime, plus
examples/, the offline documentation site, LICENSE, CHANGELOG.md and
README.md. The installer defaults to C:\Program Files\NLang; the zip is
portable — unzip anywhere writable and run bin\nide.exe.