From 891b1cfc82322f8017f0a4f6b707d6fe52024545 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 3 Sep 2021 21:51:30 -0400 Subject: Unified tuple and record syntax. --- lux-python/project.lux | 4 ++-- lux-python/source/program.lux | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lux-python') diff --git a/lux-python/project.lux b/lux-python/project.lux index f429d8687..57672fdea 100644 --- a/lux-python/project.lux +++ b/lux-python/project.lux @@ -1,5 +1,5 @@ {"" - {#identity ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"] + [#identity ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"] #deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/" "releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"} @@ -11,4 +11,4 @@ #dependencies [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"] ["org.python" "jython-standalone" "2.7.2" "jar"]] - #program "program"}} + #program "program"]} diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 9ddb061e8..713d4e854 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -471,12 +471,12 @@ (IO (Platform Register (_.Expression Any) (_.Statement Any))) (do io.monad [host ..host] - (in {#platform.&file_system (file.async file.default) + (in [#platform.&file_system (file.async file.default) #platform.host host #platform.phase python.generate #platform.runtime runtime.generate #platform.phase_wrapper ..phase_wrapper - #platform.write (|>> _.code (\ utf8.codec encoded))}))) + #platform.write (|>> _.code (\ utf8.codec encoded))]))) (def: (program context program) (Program (_.Expression Any) (_.Statement Any)) @@ -512,10 +512,10 @@ (let [extension ".py"] (exec (do async.monad - [_ (/.compiler {#/static.host @.python + [_ (/.compiler [#/static.host @.python #/static.host_module_extension extension #/static.target (/cli.target service) - #/static.artifact_extension extension} + #/static.artifact_extension extension] ..expander analysis.bundle ..platform -- cgit v1.2.3