ling-core
↓ 12840 downloadsCore types, values, and error handling every Ling package builds on
Keywords core, types, errors, runtime
lingfu install ling-coreREADME
ling-core
The foundation of the Ling language — the types, values, environment, and error system every other package builds on.
Functionality
Defines the Value type (number, string, bool, list, struct, enum, Ok/Err result), a fast-hashed environment table, error tracebacks, and the interpreter's builtin dispatch.
Features
- One value type shared by the interpreter and the compiled backends
- Non-cryptographic hashing (FxHash) for fast variable access
- Contextual errors with call frames
- Full Unicode support for multilingual identifiers
Applications
The bottom layer every Ling tool references — games, web servers, or the compiler itself.