diff options
author | Eduardo Julian | 2021-09-16 20:16:22 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-16 20:16:22 -0400 |
commit | 5fdf2b62f1f97026f76c0336a225f8b510762b46 (patch) | |
tree | a99981218cf4c1f80fa49464919915c1727b0444 /lux-lua | |
parent | df7321119283f4edd00e159ba619696f1c07161a (diff) |
Adapted Lua, Python and Ruby compilers to the new variant format.
Diffstat (limited to 'lux-lua')
-rw-r--r-- | lux-lua/project.clj | 2 | ||||
-rw-r--r-- | lux-lua/source/program.lux | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/project.clj b/lux-lua/project.clj index 212304338..559f57aab 100644 --- a/lux-lua/project.clj +++ b/lux-lua/project.clj @@ -20,7 +20,7 @@ ["snapshots" {:url ~sonatype-snapshots :creds :gpg}]] :plugins [[com.github.luxlang/lein-luxc ~version]] - :dependencies [[com.github.luxlang/luxc-jvm ~version] + :dependencies [[com.github.luxlang/lux-bootstrapper ~version] [com.github.luxlang/stdlib ~version] [net.sandius.rembulan/rembulan-runtime "0.1-SNAPSHOT"] [net.sandius.rembulan/rembulan-stdlib "0.1-SNAPSHOT"] diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index 5adcb43d9..962da273f 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -561,12 +561,12 @@ [[state_context executor] (: (Host _.Expression _.Statement) (implementation - (def: (evaluate! context code) + (def: (evaluate context code) (run! (_.return code))) - (def: execute! run!) + (def: execute run!) - (def: (define! context custom input) + (def: (define context custom input) (let [global (maybe.else (reference.artifact context) custom) @global (_.var global)] |