From 54bb56a07e6d8f1e76bd447436fb721a74f09f66 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 5 Feb 2022 14:51:37 -0400 Subject: Updated copyright notices. --- stdlib/source/program/compositor/cli.lux | 81 -------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 stdlib/source/program/compositor/cli.lux (limited to 'stdlib/source/program/compositor/cli.lux') diff --git a/stdlib/source/program/compositor/cli.lux b/stdlib/source/program/compositor/cli.lux deleted file mode 100644 index 1962569b3..000000000 --- a/stdlib/source/program/compositor/cli.lux +++ /dev/null @@ -1,81 +0,0 @@ -(.using - [library - [lux {"-" Module Source} - [control - [pipe {"+" case>}] - ["<>" parser - ["[0]" cli {"+" Parser}]]] - [tool - [compiler - [meta - [archive - [module - [descriptor {"+" Module}]]]]]] - [world - [file {"+" Path}]]]]) - -(type: .public Source - Path) - -(type: .public Host_Dependency - Path) - -(type: .public Library - Path) - -(type: .public Target - Path) - -(type: .public Compilation - [(List Source) (List Host_Dependency) (List Library) Target Module]) - -(type: .public Export - [(List Source) Target]) - -(type: .public Service - (Variant - {#Compilation Compilation} - {#Interpretation Compilation} - {#Export Export})) - -(template [ ] - [(def: - (Parser ) - (cli.named cli.any))] - - [source_parser "--source" Source] - [host_dependency_parser "--host_dependency" Host_Dependency] - [library_parser "--library" Library] - [target_parser "--target" Target] - [module_parser "--module" Module] - ) - -(def: .public service - (Parser Service) - ($_ <>.or - (<>.after (cli.this "build") - ($_ <>.and - (<>.some ..source_parser) - (<>.some ..host_dependency_parser) - (<>.some ..library_parser) - ..target_parser - ..module_parser)) - (<>.after (cli.this "repl") - ($_ <>.and - (<>.some ..source_parser) - (<>.some ..host_dependency_parser) - (<>.some ..library_parser) - ..target_parser - ..module_parser)) - (<>.after (cli.this "export") - ($_ <>.and - (<>.some ..source_parser) - ..target_parser)) - )) - -(def: .public target - (-> Service Target) - (|>> (case> (^or {#Compilation [sources host_dependencies libraries target module]} - {#Interpretation [sources host_dependencies libraries target module]} - {#Export [sources target]}) - target))) -- cgit v1.2.3