mimo-lang
v1.1.1
Published
A programming language made in javascript mostly for learning purposes.
Downloads
5
Readme
mimo
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 id the test directory
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 💜