klisp

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

commit 753b240d6fb63fc3e6774dfd652af58b3944dd9d
parent 5fe809189aa10c4d6465e5d00242576373bb0932
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Wed,  2 Mar 2011 09:27:40 -0300

Added make-empty-environment macro.

Diffstat:
Msrc/kenvironment.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/kenvironment.h b/src/kenvironment.h @@ -12,6 +12,7 @@ /* TEMP: for now allow only a single parent */ TValue kmake_environment(klisp_State *K, TValue parent); +#define kmake_empty_environment(kst_) (kmake_environment(kst_, KNIL)) void kadd_binding(klisp_State *K, TValue env, TValue sym, TValue val); TValue kget_binding(klisp_State *K, TValue env, TValue sym);