aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/runtime.lux
blob: 42b1c315a5b1cf49ce5a341701d854bd4c15d29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(.module:
  [lux #*
   [data
    [text
     ["%" format (#+ format)]]]
   [macro
    ["." template]]
   [world
    [file (#+ Path)]
    [shell (#+ Command)]]])

(template [<name> <command> <parameters>]
  [(def: #export (<name> path)
     (-> Path [Text (List Text)])
     (`` (format [<command> (list (~~ (template.splice <parameters>)) path)])))]

  [java "java" ["-jar"]]
  [node "node" ["--stack_size=8192"]]
  )