diff options
author | Eduardo Julian | 2023-01-18 01:38:48 -0400 |
---|---|---|
committer | Eduardo Julian | 2023-01-18 01:38:48 -0400 |
commit | 670438b982bbe0b662b0a65958dc4f8b289d3906 (patch) | |
tree | 390ddabf9c802c1f38d4fd985b7e29677cb0ac66 /lux-lua | |
parent | dfe09eb7a90dbf164bc0c78085b2d340e0928190 (diff) |
More efficient "let" and "exec" expressions.
Diffstat (limited to '')
-rw-r--r-- | lux-lua/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index b2babdfcb..79d106d2d 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -34,9 +34,9 @@ [macro ["^" pattern] ["[0]" local]] - ["@" target (.only) - ["_" lua]] ["[0]" compiler + ["@" target (.only) + ["_" lua]] [reference [variable (.only Register)]] [language @@ -715,7 +715,7 @@ [[state_context executor] (is (Host _.Expression _.Statement) (implementation - (def (evaluate context [_ code]) + (def (evaluate [_ code]) (run! (_.return code))) (def execute run!) |