v0.22
π Release Notes - NovumOS v0.22
Date: February 8, 2026
Version: v0.22.0
π Highlights - The Modular & Multi-line Update
This release marks a major evolution of the Nova Language, transitioning from a linear script executor to a structured, modular system. We've introduced mandatory syntax rules for better code reliability and a significantly more powerful interactive environment.
π¦ Modular Architecture
- Namespaced Commands: Built-in functions have been moved into dedicated modules (
mathandsys). This prevents namespace pollution and allows for cleaner code organization. - Explicit Imports: You now use
import "math";orimport "sys";to load these modules. Functions are then accessed viamath.sin(),sys.delay(), etc. - On-Demand Loading: Modules are only active when explicitly requested, optimizing the interpreter's memory footprint during execution.
β¨οΈ Advanced REPL & Multi-line Support
- Multi-line Input (Accumulator): The REPL now supports multi-line statements. If a line is not terminated with a
;or a closing brace}, Nova enters a "continuation mode" (indicated by a...prompt). - Mandatory Semicolons: To support complex expressions and multi-line formatting, all statements now require a
;terminator. - Enhanced history: Multi-line commands are saved correctly in the command history (now expanded to 20 entries).
- Ctrl+C Integration: Pressing
Ctrl+Cwhile typing a multi-line command now safely clears the accumulator buffer instead of exiting the interpreter.
π§ Context-Aware Tab Completion
- Module Sensitivity: Tab completion is now aware of your imports. Functions like
math.max(orsys.reboot();will only appear in suggestions after you have imported the respective module. - Smart Separators: The completion engine now correctly detects prefixes after common separators like
(,,,+, and". - Predefined Fragments: Added completions for
import "math";,import "sys";,math., andsys.to speed up coding.
π‘οΈ Runtime Stability & Validation
- Soft Errors in REPL: Runtime errors (like calling an undefined function) no longer exit the Nova interpreter. You receive a descriptive error message and remain in the REPL environment.
- Parameter Validation: Added strict syntax checking for every built-in function. The interpreter now reports missing commas or parentheses immediately, providing much clearer feedback than v0.21.
- Buffer Overflow Protection: Increased internal buffers to 4KB to handle large multi-line scripts comfortably.
π Documentation & Polish
- Updated Guides:
README.mdandDOCS/NOVA.mdhave been fully updated to reflect the v0.22.0 rules and modular syntax. - Version Sync: Both the NovumOS kernel and Nova interpreter are now synchronized at version 0.22.0.