Chemical compiles to C and runs at native speed. Memory safety without a garbage collector, and HTML/CSS as first-class citizens of the language itself.
// HTML is part of the language, not a template enginefuncGreeting(page : &mut HtmlPage) { #html{ <divclass="card"> <h1>Hello, Chemical!</h1> </div> } }
curl -sSL https://chemicallang.com/install.sh | bashNo hidden runtime, no stop-the-world pauses, no template language bolted on. What you write is what runs.
Compiles to C and runs via TinyCC or LLVM. Predictable, measurable performance with zero garbage-collection overhead.
Ownership and borrow checking at compile time. Whole classes of bugs eliminated before the program ever runs.
HTML and CSS macros are parsed by compiler plugins, so markup is type-checked with the rest of your program.
Guides and tutorials covering syntax, memory safety, and the web macros.
The standard library and core modules, documented in full.
Write, compile, and run Chemical in the browser. No install needed.
Reactive UI components built with the HTML/CSS macros, live.
Latest release: v0.5.11
Chemical is in pre-alpha. More builds on GitHub Releases.