Extend Scheme reader, reduce C reader dependency.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 13 Dec 2016 18:58:34 +0000 (19:58 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 13 Dec 2016 18:58:34 +0000 (19:58 +0100)
commitdd1daf92e4bd6c33b05b6257ca1f0c8c18b7e441
tree81cd296f20b074d8e3321ee4e22c92ef5a90ad12
parent1aba68dc6a217df1fdaf76dd52c1c6003ea5356e
Extend Scheme reader, reduce C reader dependency.

* mes.c (bload_env): Mark as internal.
  (load_env): Likewise.  Load Scheme reader from source.  Remove dumping.
  (dump): New function.
* (vm_begin_env): Allow for gc while read_input_file_env.
  (mes_builtins): Add *dot*.
  (read_input_file_env)[!READER]: Invoke read-input-file.
* module/mes/read-0.mes (read-env): New function.
  (read-word): Support quasisyntax.
  Remove usage of ' thoughout.
* module/mes/repl.mes (repl): Use read instead of read-env.
* guile/mes.scm (environment): Add *dot*.
* guile/reader.mes: Update.
* NEWS: Update.
NEWS
guile/mes.scm
guile/reader.mes
mes.c
module/mes/read-0.mes
module/mes/repl.mes
reader.c