From 5d44577c3849a045052dc1c9f0dd7deddd032120 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 1 Jun 2022 21:52:34 -0400 Subject: Extensible import syntax: Part 1 --- lux-jvm/source/program.lux | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'lux-jvm') diff --git a/lux-jvm/source/program.lux b/lux-jvm/source/program.lux index c10bb4ff8..592d9dea6 100644 --- a/lux-jvm/source/program.lux +++ b/lux-jvm/source/program.lux @@ -1,46 +1,46 @@ (.using [library [lux {"-" Definition} - [program {"+" program:}] + [program (.only program:)] ["@" target] - ["[0]" ffi {"+" import:}] + ["[0]" ffi (.only import:)] [abstract - [monad {"+" do}]] + [monad (.only do)]] [control - ["[0]" io {"+" IO}] - ["[0]" try {"+" Try}] + ["[0]" io (.only IO)] + ["[0]" try (.only Try)] [concurrency - ["[0]" async {"+" Async}]]] + ["[0]" async (.only Async)]]] [data ["[0]" product] [text - ["%" format {"+" format}]] + ["%" format (.only format)]] [collection - [array {"+" Array}]]] + [array (.only Array)]]] ["[0]" world "_" ["[0]" file] ["[1]/[0]" program]] [target ["[0]" jvm "_" - [bytecode {"+" Bytecode}] + [bytecode (.only Bytecode)] ["[1]/[0]" type ["[1]/[0]" box]]]] [tool - [compiler {"+"} + [compiler (.only) ["[0]" phase] [default - ["[0]" platform {"+" Platform}]] + ["[0]" platform (.only Platform)]] [meta - [archive {"+" Archive}] + [archive (.only Archive)] ["[0]" context] ["[0]" cli] ["[0]" packager "_" ["[1]" jvm]]] [language [lux - [generation {"+" Operation}] + [generation (.only Operation)] [analysis - [macro {"+" Expander}]] + [macro (.only Expander)]] [phase ["[0]" extension ["[0]" analysis "_" @@ -51,7 +51,7 @@ ["[1]" jvm]]] [generation ["/" jvm - ["[1][0]" runtime {"+" Anchor Definition}] + ["[1][0]" runtime (.only Anchor Definition)] ["[1][0]" host] ["[1][0]" program]]]]]]]]]] [program -- cgit v1.2.3