aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/compiler/meta/io.lux
blob: 271dcb79a79c54f1e040830777aecbcfd8d1d7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(.module:
  [lux (#- Module Code)
   [data
    ["." text]]
   [world
    [file (#+ Path System)]]])

(type: #export Context Path)

(type: #export Module Text)

(type: #export Code Text)

(def: #export (sanitize system)
  (All [m] (-> (System m) Text Text))
  (text.replace-all "/" (:: system separator)))

(def: #export lux-context "lux")