Skip to content

bethropolis/mimo

Repository files navigation

Mimo mascot

npm version GitHub release License Documentation

A minimal prefix-notation programming language


Installation

bun install -g mimo-lang

Usage

Run Programs

mimo path/to/program.mimo
mimo -e "+ 1 2"
echo "+ 1 2" | mimo

REPL

mimo repl

CLI Commands

mimo run <file>           # Run a file
mimo repl                 # Start REPL
mimo fmt <path> --write   # Format files
mimo lint <path>          # Lint files
mimo test <path>          # Run tests

Syntax

function add(a, b)
  return + a b
end

call add(4, 8) -> result
show result

More examples in test/source/.

Development

bun install
bun run check

Playground

Mimo playground

The playground is a web application that allows you to run Mimo code in your browser.

About

this is just a simple language i created to learn more about how programing languages work. contributions are welcome.

Links

License

Released under MIT

happy coding 💜