klisp

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

commit 9143e35a925a81608a1e229924ff8c2ced82ff85
parent 9ab74bfb577816a945a19c79af0c6fa2cf4ffd09
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Wed, 16 Mar 2011 02:05:39 -0300

Added encapsulation to kwrite.

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

diff --git a/src/kwrite.c b/src/kwrite.c @@ -212,6 +212,10 @@ void kwrite_simple(klisp_State *K, TValue obj) case K_TAPPLICATIVE: kw_printf(K, "[applicative]"); break; + case K_TENCAPSULATION: + /* TODO try to get the name */ + kw_printf(K, "[encapsulation]"); + break; default: /* shouldn't happen */ kwrite_error(K, "unknown object type");