Navigation
Syntax Guide
Learn Logic
StudioCratesRoadmapContactNewsBenchmarks
GitHub
Rustdoc

LOGOS Crates

LOGOS is a workspace of Rust crates you can use on their own: parse English into logic, compile and run LOGOS programs, or check a proof with the kernel. Each card links to the crate's API documentation and its crates.io page.

Version 0.11.0

Language, compiler and kernel

logicaffeine_language

Core

The LOGOS front end: English sentences to first-order logic, and the parser for LOGOS programs and LGX pages

logicaffeine_lexicon

Core

The English vocabulary behind LOGOS: verb, noun and adjective metadata for build-time lookup tables, plus an optional runtime JSON index

logicaffeine_compile

Core

The LOGOS compiler: type checking, the optimizer, the interpreter and bytecode VM, and the Rust, C, WASM, RISC-V, CUDA and hardware backends

logicaffeine_runtime

Core

Deterministic, replayable concurrency runtime for the LOGOS interpreter and VM: task scheduler, channels, Select, timers, seed and trace

logicaffeine_forge

Core

The machine-code layer of the LOGOS copy-and-patch JIT: W^X executable memory, build-time stencils, a register-allocating x86-64 backend

logicaffeine_jit

Core

Native execution tier for the LOGOS bytecode VM: hot functions and loops tier up to x86-64 machine code

logicaffeine_kernel

Core

Calculus of Constructions proof kernel with inductive types, universes, quotients, a second checker and Lean 4 import

logicaffeine_proof

Core

Kernel-checked proof search and tactics, certified SAT/CDCL with DRAT/LRAT output, and a number-theory and cryptanalysis library

logicaffeine_base

Core

Foundation types for Logicaffeine: arenas, string interning, spans, and exact integers, decimals, quantities, money, dates and UUIDs

logicaffeine_data

Core

LOGOS runtime values, collections, wire format and CRDTs, shared by native and WASM builds

logicaffeine_system

Core

Platform IO, networking, HTTP serving, persistence, and post-quantum crypto (Keccak/SHA-3, ChaCha20-Poly1305, ML-KEM, ML-DSA) for LOGOS

Z3 verification

logicaffeine_verify

Z3

Z3-based static verification and model checking for Logicaffeine

logicaffeine_tv

Z3

Translation validation for LOGOS: a symbolic encoder of the source, checked with Z3 against the tree-walking interpreter per program

Tools

logicaffeine_cli

Tool

largo — the LOGOS build tool: projects, builds, tests, serving, proofs, and the package registry

logicaffeine_lsp

Tool

The LOGOS language server (LSP): diagnostics, completion, hover, navigation and refactoring for .lg files, literate .md files and LGX pages

logicaffeine_web

Tool

The logicaffeine.com site (Dioxus/WASM): LOGOS Studio with live LGX previews, Learn, Syntax Guide, benchmarks, news and the registry browser