aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/mediator.lux
blob: 5beb217e005a21f5f8c944bc9a0d47982e6f8995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(.module:
  [lux (#- Source Module)
   [world
    ["." binary (#+ Binary)]
    ["." file (#+ File)]]]
  [//
   [compiler (#+ Compiler)
    [meta
     ["." archive (#+ Archive)
      [descriptor (#+ Module)]]]]])

(type: #export Source File)

(type: #export (Mediator !)
  (-> Archive Module (! Archive)))

(type: #export (Instancer ! d o)
  (-> (file.System !) (List Source) (Compiler d o) (Mediator !)))