Skip to content
Pt edited this page Jun 23, 2026 · 5 revisions

Welcome to the official documentation hub for Lc.

Lc is an language toolkit for Go, designed for:

  • command/runtime interpreters,
  • compiler-like execution pipelines,
  • binary opcode processors,
  • language-driven automation backends.

This wiki is focused on production adoption: architecture clarity, operational practices, and extension patterns.

Documentation map

Start here

Engine tracks

Runtime engineering

Project references

  • Repository: github.com/pt-main/lc
  • Maintainer: github.com/pt-main

Repository structure

  • builder.go - fluent builder.
  • engine.go - universal runtime wrapper and command registration.
  • main.go - public constructors for String/Byte engines.
  • engine/ - concrete engine implementations.
  • engine/core/ - generator, events, logger, shared params.
  • engine/events/ - default parse/call handlers.
  • public/ - public constants or types (event names, scope keys, etc.)
  • parsing/ - basic parsing.
  • parsing/stringParsing/ - text parser ecosystem.
  • parsing/stringParsing/parser3/ - ast parser with peg-like logics.
  • parsing/byteParsing/ - byte parser ecosystem.
  • tooling/bytecode/ - byte conversion, shift helpers and instructions generation.
  • tooling/plugins/ - plugins core.
  • example/ - example languages and other examples.
  • backup/ - five2 backup files.

Clone this wiki locally