mes/module
Jan Nieuwenhuizen dc24a7f76f
core: Add string ports.
* src/mes.c (type_t): Add TPORT.
  (scm_type_port): New symbol.
  (PORT): New macro.
  (MAKE_STRING_PORT): New macro.
  (eval_apply): Handle string ports in primitive-load.
  (mes_symbols): Add scm_type_port.
* src/posix.c (peekchar): Handle string ports.
  (readchar): New function.  Replace all getchar callers.
  (unreadchar): Likewise.
* module/mes/type-0 (port?): New function.
* module/mes/guile.mes (with-input-from-file): Rewrite.
  (open-input-string): Remove.
* module/mes/guile.scm (guile): Update cell types.
* src/gc.c (gc_loop): Support TPORT.
* src/lib.c (display_helper): Support TPORT.
* module/mes/display.mes (display): Support TPORT.
2018-04-29 17:48:38 +02:00
..
language mescc: Remove debugging. 2018-04-07 13:14:58 +02:00
mes core: Add string ports. 2018-04-29 17:48:38 +02:00
nyacc mescc: Use small, bootstrappable syntax rather than huge psyntax seed. 2017-12-09 10:55:46 +01:00
rnrs/arithmetic doc: Release udpate. 2017-11-21 19:22:26 +01:00
srfi core: append2, append_reverse, reverse, reverse!: Create less garbage. 2018-04-20 14:38:24 +02:00
sxml doc: Release udpate. 2017-11-21 19:22:26 +01:00