Skip to content

bethropolis/mimo

Repository files navigation

mimo

GitHub release License Deploy to GitHub Pages

a simple programming language written in js.

Instalation

# install globally
npm install -g mimo-lang

# install project scope
npm install mimo-lang

Global cli commands

the folowing are available commands and flags for the cli tool.

$ mimo [FILENAME] [-o|--output] [-t|--time] [-h|--help] [-q|--quiet] [-d|--debug] [-v|--version]

example mimo exampleFile.mimo

Library usage

example:

import Mimo from "../index.js";

let mimo = new Mimo();

let code = /* your code here*/

mimo.run(code);

Language syntax:

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

set x 5
set y 2

call add(x,y) -> result
show result

more example in the test directory

Docs

check out the documentation file for more info.

About

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

License

Released under MIT

happy coding 💜