Lumino Language
Language support for Lumino 2.1 (.lmno), by JJCookieLabs.
Features
- Syntax highlighting, bracket pairing, block comments, snippets and a file icon.
- Run a saved Lumino file in VS Code's integrated terminal using the editor play button or
Ctrl+F5.
- Open an interactive console: Lumino: Open Lumino Console. Stop running tasks with Lumino: Stop Lumino.
- Completions for keywords, local declarations, module aliases and members of all five standard modules, including filemgr. Hover documentation for standard members (detailed signatures for filemgr and selected other functions).
- Syntax diagnostics as you type: the bundled parser checks the unsaved editor text without executing it. See the Problems panel. Use Lumino: Check Lumino Syntax to check manually.
- Lumino: Open Lumino Language Reference opens the bundled language reference.
Requirements
Use desktop VS Code or VS Code Insiders 1.85 or newer. Syntax highlighting, snippets, completions and hover work without Python. To run programs and use diagnostics, install Python 3.13 or newer. The Lumino 2.1-dev interpreter and standard modules are included; no additional pip packages are needed. Running and checking require a trusted workspace.
By default, the extension uses python on Windows and python3 on Linux/macOS. Configure Lumino: Python Path if needed (absolute path to Python executable). Alternatively, set Lumino: Executable Path to a compatible Lumino 2.1 lumino.exe to run programs with that executable. Diagnostics always use the bundled Python parser, so Python is still required for that feature. Open Settings with Lumino: Configure Lumino Runtime. Disable Lumino: Check On Type to turn off automatic checking.
Example
addm //lumlan//
addm //math//
lumlan.init()
var result:(float)=from #math# use {function("sqrt",[25])}
lumlan.cprint("Result: \f{result}\n")
Save as main.lmno and use Run Lumino File. The working directory is the file's parent directory.
Scope and limitations
This version implements syntax checking, not static type checking or a full language server. Completions are lightweight textual suggestions, not scope-aware semantic analysis. The checker uses the bundled parser and does not validate runtime behavior. There is no breakpoint debugger. Web-based VS Code is not supported. The interpreter retains its experimental 2.1-dev limitations.
Project: https://github.com/JJCookieLabs/LuminoLanguage