aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/mediator.lux
blob: 3faf64f9582c9ce5a5fb664be30a0c4a6751b19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(.using
  [library
   [lux {"-" Source Module}
    [world
     ["[0]" binary {"+" Binary}]
     ["[0]" file {"+" Path}]]]]
  [//
   [compiler {"+" Compiler}
    [meta
     ["[0]" archive {"+" Archive}
      [descriptor {"+" Module}]]]]])

(type: .public Source
  Path)

(type: .public (Mediator !)
  (-> Archive Module (! Archive)))

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