aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/mediator.lux
blob: b24309ef164418af2fae84def2b26cbce4339b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(.module:
  [library
   [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 !)))