An ML derivative written in rust.
git clone https://github.com/shifterbit/mloxide.git
cd mloxide
cargo build --release # omit --release for debug build
./target/release/mloxide <path to source fille> # ./target/debug/mloxide for debug builds
nix build
./result/bin/mloxide <path to source file>
2 + 2 == 4
if (2 + 2) == 4
then 2
else 9
val x = 2
val y = 10
y + x
- Ints
- Booleans
- Strings
- Lists
- Arithmetic Expressions
- Equality Expressions
- Grouping Expressions
- Comparison
- If Expressions
- Assignment
- Global Variables
- Local Variables
- Pattern Matching
- Type Checking
- Proper Error Handling and Reporting
- Syntax Errors
- Error Reporting
- Error Recovery
- Type Errors
- Error Reporting
- Syntax Errors
- Module System/Imports