mescc: Output performance hacks: use core:display.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 9 Dec 2017 19:10:57 +0000 (20:10 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 9 Dec 2017 19:10:57 +0000 (20:10 +0100)
commitccddde9a845dc7819df56554e0687f0f470cf94c
treee0166bb3f814d8c2908ca043ede8097219d4c0e4
parent572b45f4cd6fe17ae233d8ce96072235b4f6b3b0
mescc: Output performance hacks: use core:display.

* src/lib.c (display_): Write to g_stdout (WAS: STDOUT).
* module/mes/guile.scm (guile): Declare and export core:display core:display-error.
* module/mes/M1.mes (object->M1): Use core:display and string-append
  instead of format.
* module/mes/guile.mes (with-input-from-string): Add debugging.
  (open-input-string): Likewise.
  (read-string): Likewise.  Re-implement.
  (drain-input): Use read-string.
module/mes/M1.mes
module/mes/guile.mes
module/mes/guile.scm
src/lib.c