1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-27 06:40:14 +03:00
mal/impls/lua
Nicolas Boulenguez a9456d0179 lua: simplify and debug environments
Use plain LUA strings as keys in environments.
Search outers environments with a loop.
Remove the now unneeded Env:find trick.
Let DEBUG-EVAL show the contents of all outer environments but repl_env.
2024-08-26 10:00:47 -05:00
..
tests Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
core.lua lua: prevent vec from mutating the original list 2024-08-26 10:00:47 -05:00
Dockerfile lua: update Dockerfile 2024-08-26 10:00:47 -05:00
env.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
Makefile lua: simplify Makefile 2024-08-26 10:00:47 -05:00
printer.lua lua: introduce a printer._pr_seq helper 2024-08-26 10:00:47 -05:00
reader.lua lua: improve consistency of keyword handling 2024-08-26 10:00:47 -05:00
readline.lua Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
run Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step0_repl.lua Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00
step1_read_print.lua lua: remove some unneeded imports 2024-08-26 10:00:47 -05:00
step2_eval.lua lua: merge eval and eval AST 2024-08-26 10:00:47 -05:00
step3_env.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step4_if_fn_do.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step5_tco.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step6_file.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step7_quote.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step8_macros.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
step9_try.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
stepA_mal.lua lua: simplify and debug environments 2024-08-26 10:00:47 -05:00
types.lua lua: improve consistency of keyword handling 2024-08-26 10:00:47 -05:00
utils.lua Move implementations into impls/ dir 2020-02-10 23:50:16 -06:00