Expand description
Solilang: A statically-typed, class-based OOP language with pipeline operators.
This is the library root that exports all modules.
§Execution
Solilang uses a tree-walking interpreter for executing programs.
Modules§
- ast
- Abstract Syntax Tree for Solilang.
- coverage
- error
- Error types for all compilation phases.
- interpreter
- Interpreter module for Solilang.
- lexer
- Lexer module for Solilang.
- live
- LiveView - Real-time server-rendered HTML with WebSocket communication.
- migration
- Database migration system for Soli MVC applications.
- module
- Module system for Solilang.
- parser
- Parser module for Solilang.
- repl_
highlight - repl_
simple - repl_
tui - scaffold
- Scaffold module for generating new Soli MVC applications.
- serve
- MVC framework with convention-based routing and hot reload.
- solidb_
http - span
- Source location tracking for error reporting.
- template
- ERB-style template engine for Soli MVC.
- types
- Type system module for Solilang.
- vm
- Bytecode VM for Soli — compiles AST to bytecode and executes via a stack-based VM.
Functions§
- parse
- Parse source code into an AST without executing.
- run
- Run a Solilang program from source code.
- run_
file - Run a Solilang program from a file path with module resolution.
- run_
with_ options - Run a Solilang program with full control over execution options.
- run_
with_ path - Run a Solilang program with optional source path for module resolution.
- run_
with_ path_ and_ coverage - Run a Solilang program (coverage disabled at compile time).
- run_
with_ type_ check - Run a Solilang program with optional type checking.
- type_
check - Type check a program without executing.