Add write, add display test, some fixes.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 24 Dec 2016 10:10:11 +0000 (11:10 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 24 Dec 2016 10:10:11 +0000 (11:10 +0100)
commitd81ce91ff75d5952bd1a0be4f3ae518018583708
tree5c81c1bb379e2e65e76d68ac164335cb89d79aef
parent16e3caafcd314d7f9ccd1e1280abf1fd40276e0d
Add write, add display test, some fixes.

* mes.c (write_byte): Rename from write_char.
* module/mes/display.mes (display): Fixes for write: char, closure, procedure.
  (write-char, write, with-output-to-string): New functions.
* tests/read.test: Include base-0 to see some output.
* tests/display.test: New file.
* GNUmakefile (TESTS): Add it.
GNUmakefile
mes.c
module/mes/display.mes
tests/display.test [new file with mode: 0755]
tests/read.test