ling-lang 2030.0.1

Ling - The Omniglot Systems Language
docs.rs failed to build ling-lang-2030.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Ling – The Omniglot Systems Language

UI/3D/Game • AI/LLM • Cryptography – in perfect harmony

CI Docs

Overview

Ling is a polyglot systems language designed for the next era of software:

Pillar 1: Graphics & Game    • wgpu/bevy + xilem/taffy
Pillar 2: AI/ML              • candle/burn + llama.cpp 
Pillar 3: Cryptography       • post-quantum + ZK + FHE
Core: Polyglot compiler     • English/中文/日本語/... unified

Quick Start

# Install

cargo install ling


# Hello world (English)

echo 'bind start = do { print("Hello!") }' | ling run


# Hello world (中文)

echo '令 启动 = 执行 { 印("你好!") }' | ling run


# Compile

lingc hello.ling -o hello

./hello

Features

  • 16 lexicons simultaneous (no #lang)
  • Zero-cost borrow checker + effects system
  • LLVM/Cranelift/WASM backends
  • Full-stack – UI/game/AI/crypto interop

Roadmap 2030

  • Core compiler pipeline (lex → ast → semantics → borrowck → mir → codegen)
  • Polyglot lexicons (en/zh/ja/ko/ru/ar/hi/th/...)
  • LLM integration (code completion + semantic suggestions)
  • Game engine (bevy + physics + tooling)
  • UI framework (xilem + taffy + design system)

See full roadmap.

Building & Running

Build the workspace

cargo build

Run Ling

This repo includes a small Rust CLI entry point. To run the default binary:

cargo run

To run the Ling REPL:

cargo run --bin ling-repl

To compile Ling source code (if enabled in your build configuration):

cargo run --bin lingc -- <input.ling> -o <output>

Note: Some binaries/features may require additional feature flags depending on the selected backend (LLVM/WASM/etc.).

Run tests

cargo test

Project Structure

  • src/ — core compiler and language implementation
  • crates/ling-core/ — core data structures and shared types
  • crates/ling-lex/ (and lexicon files) — lexing/tokenization components
  • crates/ling-polyglot/ — polyglot infrastructure
  • crates/ling-mir/ — intermediate representation
  • crates/ling-ai/, crates/ling-crypto/, crates/ling-net/, crates/ling-audio/, crates/ling-ui/ — feature domains

Contributing

We welcome contributions. Typical workflow:

  1. Fork the repo
  2. Create a feature branch
  3. Implement + add tests
  4. Submit a pull request

If you’re unsure where to start, check TODO.md and open issues.

License

Ling Harmony License 1.0