aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2021-09-03 21:51:30 -0400
committerEduardo Julian2021-09-03 21:51:30 -0400
commit891b1cfc82322f8017f0a4f6b707d6fe52024545 (patch)
tree957429c0a2ad850b3570492deabe054fb2ace63e /lux-python
parente76add6e6f904677f5c09bb2a66dce283f1b848a (diff)
Unified tuple and record syntax.
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/project.lux4
-rw-r--r--lux-python/source/program.lux8
2 files changed, 6 insertions, 6 deletions
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