Add REPL.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Oct 2016 07:44:52 +0000 (09:44 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Oct 2016 07:44:52 +0000 (09:44 +0200)
commit2715e241e5e233358a4e73ceca5664d2aa9c04c8
tree4ecc5e2623900f86c7441b466e3ffddc6166d792
parent422b6e6ce9a76f54a9a41d7e678a3a8dce888366
Add REPL.

* mes.c (expand_macro_env, force_output): New function.  Use STRING_MAX
  for string buffers throughout.  (eval_env, eval_begin_env): Rename
  from eval, eval_begin.  Update callers.
* repl.mes: New file.
* base.mes (list?): Move from scm.mes.
* scm.mes (eval, apply, primitive-eval, expand-macro): New function.
* GNUmakefile: New repl target.
GNUmakefile
base.mes
mes.c
repl.mes [new file with mode: 0644]
scm.mes