Skip to Content
DocsVersion History

Version History

v0.1.2 (Current)

Stable release of the LODE language and lodec compiler.

Changes since v0.1.0

  • Improved error messages for schema validation
  • lodec diff command for comparing Vein binaries
  • Documentation portal with versioned docs

v0.1.0

Initial release of the LODE language and lodec compiler.

Features

  • Schema definition format (.lode files)
  • Vein binary encoding/decoding
  • Four primitive types: string, bool, string[], map<string,string>
  • Deterministic SHA-256 fingerprinting with canonicalization
  • Verification (decode + fingerprint + compare)
  • lodec CLI with compile, decode, fingerprint, verify, diff commands
  • Forward compatibility (unknown fields skipped by decoder)

Schemas

  • model-layer-v1.lode — Model pool definitions for the StackNet registry

API

// Core functions compile(source, schema): Uint8Array decode(vein, schema): Record<string, any> fingerprint(obj): string verify(vein, hash, schema): boolean loadLode(pathOrObj): LodeSchema

Wire Format

  • Magic bytes: 0x4C44 (“LD”)
  • Header: 4 bytes (magic + version + count)
  • Fields: id(1) + tag(1) + length(2) + data(N)
  • Byte order: big-endian

Roadmap

v0.2.0 (Planned)

  • Integer types (int, uint, int64)
  • Float type (float)
  • Raw bytes type (bytes)
  • Schema import/reference mechanism

v0.3.0 (Planned)

  • Streaming encoder for large payloads
  • Nested schema support
  • Schema-to-TypeScript code generation
Last updated on