diff options
author | Eduardo Julian | 2019-02-12 18:56:18 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-02-12 18:56:18 -0400 |
commit | 845ccb5460583df6cbf37824c2eed82729a24804 (patch) | |
tree | 52dc2b64b8d6f08fd3e4717e9fb3c31aa2704833 /stdlib/source/lux/tool/compiler/meta/io.lux | |
parent | 733e35d9e17d1fc0bdb642e7b56ebd7ac34d4b67 (diff) |
Re-named "lux/platform" to "lux/tool".
Diffstat (limited to 'stdlib/source/lux/tool/compiler/meta/io.lux')
-rw-r--r-- | stdlib/source/lux/tool/compiler/meta/io.lux | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/stdlib/source/lux/tool/compiler/meta/io.lux b/stdlib/source/lux/tool/compiler/meta/io.lux new file mode 100644 index 000000000..dd261a539 --- /dev/null +++ b/stdlib/source/lux/tool/compiler/meta/io.lux @@ -0,0 +1,16 @@ +(.module: + [lux (#- Module Code) + [data + ["." text]] + [world + [file (#+ File System)]]]) + +(type: #export Context File) + +(type: #export Module Text) + +(type: #export Code Text) + +(def: #export (sanitize system) + (All [m] (-> (System m) Text Text)) + (text.replace-all "/" (:: system separator))) |