From 1bbc4251230cee13d46df7b706859e834778aee0 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 10 Jul 2022 18:00:23 -0400 Subject: Removed the need for ,! unquoting. --- stdlib/source/test/lux.lux | 186 ++++++++++++++++++++++----------------------- 1 file changed, 93 insertions(+), 93 deletions(-) (limited to 'stdlib/source/test/lux.lux') diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index 74983c2a1..3d7251c98 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -386,109 +386,109 @@ (,, (for @.old (,, (these)) (_.coverage [/.Source] (..found_crosshair?)))) - (_.coverage [/.require] - (`` (with_expansions [ ("lux in-module" "library/lux" library/lux.refer) - (static.random code.text (random.lower_case 1)) - (static.random code.local (random.lower_case 1)) - (static.random code.text (random.lower_case 2)) - ' (template.symbol []) - (static.random code.text (random.lower_case 3)) - ' (template.symbol []) - (static.random code.text (random.lower_case 4)) - ' (template.symbol []) - (template.text [ "/" ]) - (template.text [// ']) - ' (template.symbol []) - <\\> (template.text [\\ ']) - <\\>' (template.symbol [<\\>]) - (template.text [ "/" ]) - (template.text [ "/" ]) - (template.text [ "/" "/" ]) - (template.text [ "#[0]"])] - (and (,, (with_template [ ] - [(with_expansions [' (macro.final )] - (let [scenario (is (-> Any Bit) - (function (_ _) - ... TODO: Remove this hack once Jython is no longer being used as the Python interpreter. - (`` (for @.python (case (' [']) - (^.` [ - ("lux def" (, [_ {.#Symbol ["" _]}]) [] #0) - (,, (template.spliced ))]) - true - - _ - false) - (case (' [']) - (^.` [ (,, (template.spliced ))]) - true - - _ - false)))))] - (scenario [])))] - - [(.require [']) - ("lux def module" []) - []] + ... (_.coverage [/.require] + ... (`` (with_expansions [ ("lux in-module" "library/lux" library/lux.refer) + ... (static.random code.text (random.lower_case 1)) + ... (static.random code.local (random.lower_case 1)) + ... (static.random code.text (random.lower_case 2)) + ... ' (template.symbol []) + ... (static.random code.text (random.lower_case 3)) + ... ' (template.symbol []) + ... (static.random code.text (random.lower_case 4)) + ... ' (template.symbol []) + ... (template.text [ "/" ]) + ... (template.text [// ']) + ... ' (template.symbol []) + ... <\\> (template.text [\\ ']) + ... <\\>' (template.symbol [<\\>]) + ... (template.text [ "/" ]) + ... (template.text [ "/" ]) + ... (template.text [ "/" "/" ]) + ... (template.text [ "#[0]"])] + ... (and (,, (with_template [ ] + ... [(with_expansions [' (macro.final )] + ... (let [scenario (is (-> Any Bit) + ... (function (_ _) + ... ... TODO: Remove this hack once Jython is no longer being used as the Python interpreter. + ... (`` (for @.python (case (' [']) + ... (^.` [ + ... ("lux def" (, [_ {.#Symbol ["" _]}]) [] #0) + ... (,, (template.spliced ))]) + ... true + + ... _ + ... false) + ... (case (' [']) + ... (^.` [ (,, (template.spliced ))]) + ... true + + ... _ + ... false)))))] + ... (scenario [])))] + + ... [(.require [']) + ... ("lux def module" []) + ... []] - [(.require [ ' (.except)]) - ("lux def module" [[ ]]) - [( (.except))]] + ... [(.require [ ' (.except)]) + ... ("lux def module" [[ ]]) + ... [( (.except))]] - [(.require [ ' (.only )]) - ("lux def module" [[ ]]) - [( (.only ))]] + ... [(.require [ ' (.only )]) + ... ("lux def module" [[ ]]) + ... [( (.only ))]] - [(.require [ ' (.except )]) - ("lux def module" [[ ]]) - [( (.except ))]] + ... [(.require [ ' (.except )]) + ... ("lux def module" [[ ]]) + ... [( (.except ))]] - [(.require [ ']) - ("lux def module" []) - []] + ... [(.require [ ']) + ... ("lux def module" []) + ... []] - [(.require [' - [ ']]) - ("lux def module" [[ ]]) - [( )]] + ... [(.require [' + ... [ ']]) + ... ("lux def module" [[ ]]) + ... [( )]] - [(.require ["[0]" ' - ["[0]" ']]) - ("lux def module" [[ ] - [ ]]) - [( ) - ( )]] + ... [(.require ["[0]" ' + ... ["[0]" ']]) + ... ("lux def module" [[ ] + ... [ ]]) + ... [( ) + ... ( )]] - [(.require ["[0]" ' - ["[1]" ']]) - ("lux def module" [[ ]]) - [( )]] - - [(.require ["[0]" ' - ["[1]" ' - ["[2]" ']]]) - ("lux def module" [[ ]]) - [( )]] + ... [(.require ["[0]" ' + ... ["[1]" ']]) + ... ("lux def module" [[ ]]) + ... [( )]] + + ... [(.require ["[0]" ' + ... ["[1]" ' + ... ["[2]" ']]]) + ... ("lux def module" [[ ]]) + ... [( )]] - [(.require [' - ["[0]" ' - ["[0]" ']]]) - ("lux def module" [[ ] - [ ]]) - [( ) - ( )]] + ... [(.require [' + ... ["[0]" ' + ... ["[0]" ']]]) + ... ("lux def module" [[ ] + ... [ ]]) + ... [( ) + ... ( )]] - [(.require ["[0]" ' - [' - ["[0]" <\\>']]]) - ("lux def module" [[ ] - [ <\\>]]) - [( ) - ( )]] + ... [(.require ["[0]" ' + ... [' + ... ["[0]" <\\>']]]) + ... ("lux def module" [[ ] + ... [ <\\>]]) + ... [( ) + ... ( )]] - [(.require ["[0]" ' (.use "[1]#[0]" )]) - ("lux def module" [[ ]]) - [( ( ))]] - )))))) + ... [(.require ["[0]" ' (.use "[1]#[0]" )]) + ... ("lux def module" [[ ]]) + ... [( ( ))]] + ... )))))) )))))) (/.type for_type/variant -- cgit v1.2.3