mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
adding port type objects
This commit is contained in:
parent
dfe3440e91
commit
70eb98d0f8
2 changed files with 3 additions and 1 deletions
|
@ -358,6 +358,8 @@ sexp sexp_init_library (sexp ctx, sexp self, sexp_sint_t n, sexp env, const char
|
|||
sexp_define_type(ctx, "Byte-Vector", SEXP_BYTES);
|
||||
sexp_define_type(ctx, "Pair", SEXP_PAIR);
|
||||
sexp_define_type(ctx, "Vector", SEXP_VECTOR);
|
||||
sexp_define_type(ctx, "Input-Port", SEXP_IPORT);
|
||||
sexp_define_type(ctx, "Output-Port", SEXP_OPORT);
|
||||
sexp_define_type(ctx, "Opcode", SEXP_OPCODE);
|
||||
sexp_define_type(ctx, "Procedure", SEXP_PROCEDURE);
|
||||
sexp_define_type(ctx, "Bytecode", SEXP_BYTECODE);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(define-library (chibi ast)
|
||||
(export
|
||||
analyze optimize env-cell ast->sexp macroexpand type-of
|
||||
Object Opcode Procedure Bytecode Macro Env
|
||||
Object Input-Port Output-Port Opcode Procedure Bytecode Macro Env
|
||||
Number Bignum Flonum Integer Char Boolean
|
||||
Symbol String Byte-Vector Vector Pair
|
||||
Context Lam Cnd Set Ref Seq Lit Sc Exception
|
||||
|
|
Loading…
Add table
Reference in a new issue