From 5fdf2b62f1f97026f76c0336a225f8b510762b46 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 16 Sep 2021 20:16:22 -0400 Subject: Adapted Lua, Python and Ruby compilers to the new variant format. --- lux-lua/project.clj | 2 +- lux-lua/source/program.lux | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-lua') 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)] -- cgit v1.2.3