Description
Dawn is a small functional programming language with immutable data, algebraic data types with exhaustive pattern matching, and effects written into the function signature. A function that touches IO must say so with !io, and effects you declare are answered with a handler. It has compile-time evaluation through comptime blocks, and it compiles to JVM bytecode and to C. The compiler is self-hosted. The site includes a tutorial, a language spec, examples, a standard library, a package list, a playground in the browser and a demo. A GPU page describes NVIDIA support through cuTile. A program is run with dawn run main.dawn. The site shows separate paths for the JVM and for C, and says the C route works without a JVM. The current version is v0.105.0, and the source and releases are on GitHub.…
Highlights
- Immutable data and algebraic types with exhaustive matching
- Effects tracked in the function signature
- Compile-time evaluation with comptime
- Compiles to JVM bytecode and C
- Self-hosted compiler with a browser playground
Ratings & Reviews
No ratings yet
Be the first to rate Dawn Lang.
People also visit
bruijn programming language
Functional programming language based on pure de Bruijn indexed lambda calculus
Dawn Lang FAQ
What is Dawn?
A small functional programming language with explicit effects in the type signature and exhaustive pattern matching.
What does the effect system do?
Touching IO requires !io in the signature, and declared effects are answered with a handler, so the compiler checks what a function touches.
What does it compile to?
JVM bytecode and C. The site says the compiler is self-hosted.
Can I try it without installing?
Yes. The site has a browser playground and a tutorial.
Which version is current?
The site lists v0.105.0.
What are the best Dawn Lang alternatives?
Popular alternatives to Dawn Lang include Cowgol, Maru and bruijn programming language. See all Dawn Lang alternatives


