klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 5de9a277e7a620c82a44c3316751e8c10a37e535
parent 87b0db6c9711724d0ca2941e483ff591fa7a5deb
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Wed, 20 Apr 2011 01:53:19 -0300

After last bugfix, ground environment has now a hashtable of bindings.

Diffstat:
Msrc/kstate.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kstate.c b/src/kstate.c @@ -179,8 +179,8 @@ klisp_State *klisp_newstate (klisp_Alloc f, void *ud) { K->eval_op = kmake_operative(K, keval_ofn, 0); K->list_app = kmake_applicative(K, list, 0); /* ground environment has a hashtable for bindings */ -// K->ground_env = kmake_table_environment(K, KNIL); - K->ground_env = kmake_environment(K, KNIL); + K->ground_env = kmake_table_environment(K, KNIL); + /* MAYBE: fix it so we can remove module_params_sym from roots */ K->module_params_sym = ksymbol_new(K, "module-parameters");