1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Update notes

This commit is contained in:
Étienne Fildadut 2021-11-28 16:31:51 +01:00
parent 90e5a2d9cf
commit 02d50fb79f
2 changed files with 46 additions and 2 deletions

View file

@ -1,5 +1,5 @@
local eval
local truthy, merge_state, escape, get_variable, eval_text_callback, tags, events
local truthy, merge_state, escape, get_variable, tags, events
local run_line, run_block
-- returns var in case of success and there is a return
@ -206,7 +206,7 @@ local interpreter = {
package.loaded[...] = interpreter
eval = require((...):gsub("interpreter$", "expression"))
local common = require((...):gsub("interpreter$", "common"))
truthy, merge_state, tags, get_variable, eval_text_callback, events = common.truthy, common.merge_state, common.tags, common.get_variable, common.eval_text_callback, common.events
truthy, merge_state, tags, get_variable, events = common.truthy, common.merge_state, common.tags, common.get_variable, common.events
escape = require((...):gsub("interpreter%.interpreter$", "parser.common")).escape
return interpreter