-
Notifications
You must be signed in to change notification settings - Fork 2
/
fusionscript-dev-1.rockspec
46 lines (41 loc) · 1.12 KB
/
fusionscript-dev-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package = "fusionscript"
version = "dev-1"
source = {
url = "git://github.com/RyanSquared/fusionscript.git";
}
description = {
summary = "A Lua compilable language based on C and Python";
maintainer = "Ryan <[email protected]>";
license = "MIT";
}
dependencies = {
"lua >= 5.1";
"lpeg >= 1.0";
"luafilesystem";
"serpent";
"luaossl";
"basexx";
}
local default = "source"
build = {
type = "builtin";
modules = {
["fusion.stdlib.table"] = "fusion/stdlib/table.lua";
["fusion.stdlib.ternary"] = "fusion/stdlib/ternary.lua";
["fusion.stdlib.class"] = "fusion/stdlib/class.lua";
["fusion.core.compilers.source"] = "fusion/core/compilers/source.lua";
["fusion.core.parser"] = "fusion/core/parser.lua";
["fusion.util"] = "fusion/util.lua";
};
install = {
bin = {
["fusion-ast"] = "bin/util/ast.lua";
["fusion-lint"] = "bin/util/linter.lua";
["fusion-pkg"] = "bin/util/pkg.lua";
["fusion"] = ("bin/interpreter/%s.lua"):format(default);
["fusionc"] = ("bin/compiler/%s.lua"):format(default);
["fusion-source"] = "bin/interpreter//source.lua";
["fusionc-source"] = "bin/compiler/source.lua";
};
};
}