aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
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-ruby
parente76add6e6f904677f5c09bb2a66dce283f1b848a (diff)
Unified tuple and record syntax.
Diffstat (limited to 'lux-ruby')
-rw-r--r--lux-ruby/project.lux4
-rw-r--r--lux-ruby/source/program.lux8
2 files changed, 6 insertions, 6 deletions
diff --git a/lux-ruby/project.lux b/lux-ruby/project.lux
index 99f794bc8..b9e998cde 100644
--- a/lux-ruby/project.lux
+++ b/lux-ruby/project.lux
@@ -1,5 +1,5 @@
{""
- {#identity ["com.github.luxlang" "lux-ruby" "0.6.0-SNAPSHOT"]
+ [#identity ["com.github.luxlang" "lux-ruby" "0.6.0-SNAPSHOT"]
#description "A Ruby compiler for Lux."
#deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
@@ -12,4 +12,4 @@
#dependencies [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]
["org.jruby" "jruby-complete" "9.2.15.0" "jar"]]
- #program "program"}}
+ #program "program"]}
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index c76b44b96..d2b32c0be 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -800,12 +800,12 @@
(IO (Platform Register _.Expression _.Statement))
(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 ruby.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 _.Statement)
@@ -820,10 +820,10 @@
(program: [service /cli.service]
(let [extension ".rb"]
(exec (do async.monad
- [_ (/.compiler {#/static.host @.ruby
+ [_ (/.compiler [#/static.host @.ruby
#/static.host_module_extension extension
#/static.target (/cli.target service)
- #/static.artifact_extension extension}
+ #/static.artifact_extension extension]
..expander
analysis.bundle
..platform