Skip to content
Projekte

Über uns

Jam Programming Language

Programmiersprachen und Laufzeitumgebungen

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Jam Logo
Jam Programming Language

Reference · Sponsor

Jam is at an early v0.0.1 release, and I've disabled issues and pull requests on the repo. I'll re-enable both after the v0.1 release and once there's a proper documentation website. If there's anything you'd like to ask directly, feel free to send me an email.

Jam will move to an org in the future, but right now it's mostly me maintaining the language and I'm considering testing other options besides GitHub, so I'd like to wait a bit before starting to move things around.

In case you want to test before v0.1, download a prebuilt compiler for macOS or Linux from the release page (see Installation), or use Homebrew:

brew tap tri-berry/jam https://github.com/tri-berry/jam
brew install jam

Building from source

The compiler is written in Rust (it started as C++; the last commit carrying that implementation is 4e66bc6). You need the Rust toolchain (picked up automatically via rust-toolchain.toml) plus LLVM 22 and LLD 22 — brew install llvm@22 lld@22, or point LLVM_CONFIG at your llvm-config and JAM_LLD_PREFIX at your LLD install.

make build     # debug build (cargo build -p jam)
make test      # Rust unit tests + the .jam corpus under tests/
make install   # release build, installs jam + std to ~/.local

The installed jam finds the standard library relative to its own binary (<prefix>/lib/jam/std). During development it falls back to ./std in the repo, and JAM_STD_PATH (or --std-path) overrides both.

Contributing

  1. Donate monthly.

  2. No AI Policy (issues and pull requests). You can comment in your native language if you are not confortable with English.

References

  • Chris Lattner et al., "MLIR: A Compiler Infrastructure for the End of Moore's Law", 2020. https://arxiv.org/abs/2002.11054
  • Dimi Racordon, Dave Abrahams, et al., “Implementation Strategies for Mutable Value Semantics”, Journal of Object Technology, 2022. https://research.google/pubs/mutable-value-semantics/
  • Luc Maranget, “Compiling Pattern Matching to Good Decision Trees”, ACM SIGPLAN Workshop on ML, 2008. http://moscova.inria.fr/~maranget/papers/ml05e-maranget.pdf
  • Zig v0.10 — referenced for its flat, tag-dispatched AST, type interning, and Debug-by-default codegen approach. https://github.com/ziglang/zig/tree/0.10.x
  • The Rust compiler (rustc) — referenced for its -C key=value codegen-options CLI shape (opt-level / lto / strip) and ABI by-value-vs-by-pointer threshold heuristics. https://github.com/rust-lang/rust
  • Swift's mutable value semantics — the var/let distinction and law-of-exclusivity model that informed Jam's let / mut / move binding modes and aliasing rules. See Racordon & Abrahams (cited above) for the formal treatment; Dave Abrahams is the principal designer of Swift's value semantics, and the paper uses Val/Hylo as a research vehicle for the underlying MVS ideas. https://www.hylo-lang.org/

Artwork

Jam logo/mascot was created by Anthony Orozco.

License

This software is distributed under the Apache License 2.0 with LLVM Exceptions.

TODO

  • Minifloats.
  • MLIR rs.

Ähnliche Projekte entdecken

Wird geladen…