AI reference¶
This page is the HTML counterpart to the root-level AI_GUIDE.md.
Use the root file when you want a single document for agent ingestion. Use this page when you want the same material inside the docs site.
Fast rules for AI agents¶
- Start from
main.novandlibraries.conf. - Check whether imports are aliased or unaliased.
- Prefer the package loader (
lib/<pkg>/main.nov) unless the project intentionally imports a specific file. - Inspect
#ifblocks before assuming a symbol exists on every platform. - If compile errors mention missing functions from a library alias, verify the vendored
lib/<pkg>/copy is up to date.
Syntax quick sheet¶
module app;
import lib/std std;
fn main() -> i32 {
let xs: []i32 = [1, 2, 3];
std.print(std.to_str(std.len(xs)));
return 0;
}
Builtins worth knowing¶
movgetregsyscallptrarray_appendlenwin_call
Package quick sheet¶
Typical packages in this ecosystem:
stdfile_ioenvprocesswindowphysics