Skip to content

QuantaLang v1.0.0 — The Effects Language

Choose a tag to compare

@HarperZ9 HarperZ9 released this 30 Mar 11:12
· 818 commits to main since this release

QuantaLang v1.0.0

The first release of the QuantaLang compiler.

What's included

  • quantac.exe — Windows x86-64 compiler binary (4.3 MB)
  • Compiles .quanta source files to C, HLSL, GLSL, and experimental backends

Highlights

  • 81K lines of Rust, 604 tests passing, zero unsafe in compiler core
  • 15 programs compile including a 4,559-line SQL database engine
  • Self-verifying color science — CIE 1976 Lab + OKLab output matches published standards
  • CI verified — clippy, rustfmt, cargo test, end-to-end compilation, self-checking binary

Quick start

quantac hello.quanta          # Compile and run
quantac hello.quanta -o out.c # Compile to C
quantac --target hlsl shader.quanta -o shader.fx  # Compile to HLSL

Verified programs

Program LOC Description
db.quanta 4,559 SQL database with lexer, parser, executor, WAL
color.quanta 199 sRGB → XYZ → Lab → OKLab converter
color_test.quanta 121 Self-verifying color science (12/12 pass)
jq.quanta 1,048 JSON query tool
awk.quanta 876 Text processing
codegen.quanta 2,490 Code generator

Requirements

  • Windows 10/11 x86-64
  • A C compiler (MSVC, gcc, or clang) for native binary output