aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
authorEduardo Julian2022-06-01 21:52:34 -0400
committerEduardo Julian2022-06-01 21:52:34 -0400
commit5d44577c3849a045052dc1c9f0dd7deddd032120 (patch)
treeb0e00801734720e9f985c7dfa239aaa0bdea7bcd /lux-js/source
parent659537b4ec859f1e705cdd1f82da29ab1a662d94 (diff)
Extensible import syntax: Part 1
Diffstat (limited to 'lux-js/source')
-rw-r--r--lux-js/source/program.lux34
1 files changed, 17 insertions, 17 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 01646ac23..ba6aaff49 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -1,27 +1,27 @@
(.using
[library
[lux "*"
- [program {"+" program:}]
- ["[0]" ffi {"+" import:}]
+ [program (.only program:)]
+ ["[0]" ffi (.only import:)]
["[0]" debug]
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
["[0]" maybe ("[1]#[0]" monad)]
- ["[0]" try {"+" Try}]
- ["[0]" exception {"+" exception:}]
- ["[0]" io {"+" IO io}]
+ ["[0]" try (.only Try)]
+ ["[0]" exception (.only exception:)]
+ ["[0]" io (.only IO io)]
["[0]" function]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
["[0]" product]
[text
- ["%" format {"+" format}]
+ ["%" format (.only format)]
[encoding
["[0]" utf8]]]
[collection
- ["[0]" array {"+" Array}]]]
+ ["[0]" array (.only Array)]]]
[macro
["^" pattern]
["[0]" template]]
@@ -37,17 +37,17 @@
["_" js]]
[tool
[compiler
- ["[0]" phase {"+" Operation Phase}]
+ ["[0]" phase (.only Operation Phase)]
[reference
- [variable {"+" Register}]]
+ [variable (.only Register)]]
[language
[lux
- [program {"+" Program}]
- [generation {"+" Host}]
+ [program (.only Program)]
+ [generation (.only Host)]
[analysis
- [macro {"+" Expander}]]
+ [macro (.only Expander)]]
[phase
- ["[0]" extension {"+" Extender Handler}
+ ["[0]" extension (.only Extender Handler)
["[1]/[0]" bundle]
["[0]" analysis "_"
["[1]" js]]
@@ -58,11 +58,11 @@
["[0]" js
["[0]" runtime]]]]]]
[default
- ["[0]" platform {"+" Platform}]]
+ ["[0]" platform (.only Platform)]]
[meta
["[0]" cli]
["[0]" context]
- [archive {"+" Archive}
+ [archive (.only Archive)
["[0]" unit]]
["[0]" packager "_"
["[1]" script]]]]]]]