MoonPlus

MoonPlus is a compiler for Moonscript written in C++.

$ luarocks install moonplus

MoonPlus is a compiler with features from Moonscript language 0.5.0 and implementing new features to make Moonscript more up to date.

Usage

require("moonp")("main") -- require `main.mp`

local moonp = require("moonp")
print(moonp.to_lua([[
f = -> print "hello world"
f!
]],{
implicit_return_root = true,
reserve_line_number = false,
lint_global = false
}))

Versions

dev-1dev251 days ago0 downloads
0.4.16-112 days ago8 downloads
0.4.6-177 days ago47 downloads
0.4.2-1113 days ago30 downloads
0.4.0-1142 days ago6 downloads
0.3.8-1196 days ago14 downloads
0.3.7-1208 days ago2 downloads
0.3.5-1211 days ago0 downloads
0.3.2-1223 days ago17 downloads
0.2.0-1230 days ago38 downloads
0.1.2-1249 days ago7 downloads
0.1-1251 days ago1 download

Dependencies

lua >= 5.1

Labels

Manifests