mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 13:37:35 +02:00
Adding Complex type definition to (chibi ast).
This commit is contained in:
parent
e281854483
commit
6917cdabfb
2 changed files with 2 additions and 1 deletions
|
@ -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, "Bignum", SEXP_BIGNUM);
|
||||||
sexp_define_type(ctx, "Flonum", SEXP_FLONUM);
|
sexp_define_type(ctx, "Flonum", SEXP_FLONUM);
|
||||||
sexp_define_type(ctx, "Integer", SEXP_FIXNUM);
|
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, "Symbol", SEXP_SYMBOL);
|
||||||
sexp_define_type(ctx, "Char", SEXP_CHAR);
|
sexp_define_type(ctx, "Char", SEXP_CHAR);
|
||||||
sexp_define_type(ctx, "Boolean", SEXP_BOOLEAN);
|
sexp_define_type(ctx, "Boolean", SEXP_BOOLEAN);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(export
|
(export
|
||||||
analyze optimize env-cell ast->sexp macroexpand type-of
|
analyze optimize env-cell ast->sexp macroexpand type-of
|
||||||
Object Input-Port Output-Port Opcode Procedure Bytecode Macro Env
|
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
|
Symbol String Byte-Vector Vector Pair
|
||||||
Context Lam Cnd Set Ref Seq Lit Sc Exception
|
Context Lam Cnd Set Ref Seq Lit Sc Exception
|
||||||
syntactic-closure? lambda? cnd? set? ref? seq? lit? type?
|
syntactic-closure? lambda? cnd? set? ref? seq? lit? type?
|
||||||
|
|
Loading…
Add table
Reference in a new issue