Skip to content

Repository files navigation

alder

A programming language that compiles to JavaScript, with a special focus on Cloudflare. Forked from the Elm compiler and ported to Rust.

Design lives in docs/. The draft grammar and the roadmap live in SPEC.md. All of it is current direction, not final.

Development

Runnable examples live in tests/e2e/ alongside their assertions. For example:

cargo run --bin alder -- run tests/e2e/hello
cargo run --bin alder -- run tests/e2e/pipes
cargo run --bin alder -- run tests/e2e/explicit_async

Run the development checks with:

cargo fmt --all
cargo clippy --all-targets --all-features -- -D warnings
cargo test

Releases use sampo changesets and cargo-dist. Push a changeset to main, merge the release PR, and CI publishes crates, binaries, the Homebrew formula (brew install orbistry/tap/alder), and the npm package (npx @alder-script/cli).

Releases

Contributors

Languages