Add reader in Scheme.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 19 Nov 2016 22:25:24 +0000 (23:25 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Dec 2016 19:35:19 +0000 (20:35 +0100)
commit1614d1343940a67dc56d69bcc0d2a37cc5b4b813
tree1ab0e75b93319916aa210cc7456a3fcb55a2d265
parente6a0257a79e1f01f3feb7d88b4613c24d549dad1
Add reader in Scheme.

* module/mes/read-0.mes: New file.
* mes.c (char_to_integer, integer_to_char, null_p): Move to core.
 (peek_byte, read_byte, unread_byte): New function.
 (main): --dump, --load: New option.
* lib.c (char_to_integer, integer_to_char): Remove.
* NEWS: Update.
25 files changed:
.gitignore
GNUmakefile
NEWS
lib.c
mes.c
module/mes/base-0.mes
module/mes/read-0.mes [new file with mode: 0644]
quasiquote.c
scripts/elf.mes
scripts/mescc.mes
scripts/paren.mes
scripts/repl.mes
tests/base.test
tests/closure.test
tests/cwv.test
tests/let-syntax.test
tests/let.test
tests/match.test
tests/psyntax.test
tests/quasiquote.test
tests/read.test [new file with mode: 0755]
tests/record.test
tests/scm.test
tests/vector.test
type.c