Axiom
A functional language with effect checking and a type system that produces native executables.
What does it do?
Creating a new project generates an example program and package configuration file, which can be run or built with commands. The compiler checks for missing cases and effects, and requires effect declarations on functions that perform I/O. Errors include locations and stable codes, with an explanation command for looking up each code. The output is a native executable that includes an allocator. Required Rust functions can be linked through extern declarations and a crate build option.
Key features
- Checks types and missing cases at compile time.
- Infers and checks I/O effects and requires effect declarations for relevant functions.
- Produces native binaries that run without a VM.
- Provides error locations and codes, with a command to look up explanations.
- Declares functions from Rust crates and links them into the build.
- Provides prebuilt files for macOS and Linux arm64.