Adding Complex type definition to (chibi ast).

This commit is contained in:
Alex Shinn 2013-02-28 22:35:51 +09:00
parent e281854483
commit 6917cdabfb
2 changed files with 2 additions and 1 deletions

View file

@ -383,6 +383,7 @@ sexp sexp_init_library (sexp ctx, sexp self, sexp_sint_t n, sexp env, const char
sexp_define_type(ctx, "Bignum", SEXP_BIGNUM);
sexp_define_type(ctx, "Flonum", SEXP_FLONUM);
sexp_define_type(ctx, "Integer", SEXP_FIXNUM);
sexp_define_type(ctx, "Complex", SEXP_COMPLEX);
sexp_define_type(ctx, "Symbol", SEXP_SYMBOL);
sexp_define_type(ctx, "Char", SEXP_CHAR);
sexp_define_type(ctx, "Boolean", SEXP_BOOLEAN);

View file

@ -3,7 +3,7 @@
(export
analyze optimize env-cell ast->sexp macroexpand type-of
Object Input-Port Output-Port Opcode Procedure Bytecode Macro Env
Number Bignum Flonum Integer Char Boolean
Number Bignum Flonum Integer Complex Char Boolean
Symbol String Byte-Vector Vector Pair
Context Lam Cnd Set Ref Seq Lit Sc Exception
syntactic-closure? lambda? cnd? set? ref? seq? lit? type?