aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/runtime.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program/aedifex/runtime.lux')
-rw-r--r--stdlib/source/program/aedifex/runtime.lux17
1 files changed, 17 insertions, 0 deletions
diff --git a/stdlib/source/program/aedifex/runtime.lux b/stdlib/source/program/aedifex/runtime.lux
new file mode 100644
index 000000000..6abfc5a62
--- /dev/null
+++ b/stdlib/source/program/aedifex/runtime.lux
@@ -0,0 +1,17 @@
+(.module:
+ [lux #*
+ [data
+ [text
+ ["%" format (#+ format)]]]
+ [world
+ [file (#+ Path)]
+ [shell (#+ Command)]]])
+
+(template [<name> <command>]
+ [(def: #export <name>
+ (-> Path Command)
+ (|>> (format <command>)))]
+
+ [java "java -jar "]
+ [node "node --stack_size=8192 "]
+ )