Skip to content

Repository files navigation

Muninn

A small statically typed scripting language built in Rust.

Muninn compiler pipeline

Muninn parses source, checks types, compiles bytecode, and runs it on a stack VM. The same program can run through the interpreter, bytecode path, hot-reload runtime, or the experimental integer tracing JIT.

Measured snapshot

Metric Result
Workspace tests 193
Benchmark targets 6
Scalar loop, compile and run 400 µs/op
Scalar loop, VM only 354 µs/op
Tensor pipeline, compile and run 32 µs/op

Apple M1, Rust 1.97.1, release mode, commit d70836e. These are local wall-clock measurements from muninn-metrics, not portable latency claims.

Muninn runtime modes

Language shape

  • Typed functions, bindings, mutation, blocks, loops, and conditionals
  • Int, Float, Bool, String, Tensor, Void, and nominal records
  • Tensor broadcasting, matrix multiplication, reductions, and eager gradients
  • Source checks, bytecode builds, editor support, and runtime metrics
A Muninn program The Muninn tensor path

Build, run, benchmark, and inspect every command.

About

Statically typed, expression-oriented programming language

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages