灵符lingfu

ling-core

↓ 12840 downloads

Core types, values, and error handling every Ling package builds on

Keywords core, types, errors, runtime
lingfu install ling-core
LicenseApache-2.0 OR MIT
AuthorsLing Lin, Sanny Lin
READMECode / FilesVersionsDependency GraphDependentsSecurityBuildsSettings

README

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.

← Back to index