https://github.com/bethropolis/mimo
a simple programming language written in js.
https://github.com/bethropolis/mimo
ast compiler javascript lexer parser programming-language
Last synced: 14 days ago
JSON representation
a simple programming language written in js.
- Host: GitHub
- URL: https://github.com/bethropolis/mimo
- Owner: bethropolis
- License: mit
- Created: 2024-04-08T23:20:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-01T02:59:40.000Z (20 days ago)
- Last Synced: 2026-03-01T05:38:36.842Z (20 days ago)
- Topics: ast, compiler, javascript, lexer, parser, programming-language
- Language: JavaScript
- Homepage: https://mimo-lang.vercel.app/
- Size: 3.15 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
A minimal prefix-notation programming language
---
## Installation
```bash
npm install -g mimo-lang
```
## Usage
### Run Programs
```bash
mimo path/to/program.mimo
mimo -e "+ 1 2"
echo "+ 1 2" | mimo
```
### REPL
```bash
mimo repl
```
### CLI Commands
```bash
mimo run # Run a file
mimo repl # Start REPL
mimo fmt --write # Format files
mimo lint # Lint files
mimo test # Run tests
```
## Syntax
```mimo
function add(a, b)
return + a b
end
call add(4, 8) -> result
show result
```
More examples in [`test/source/`](./test/source).
## Development
```bash
bun install
bun run check
```
## 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
- [Documentation](https://bethropolis.github.io/mimo/)
- [Playground](https://mimo-lang.vercel.app/playground/)
- [GitHub](https://github.com/bethropolis/mimo)
## License
Released under [MIT](./LICENSE)
happy coding 💜