core: Add function indirection.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 19 Nov 2016 21:31:30 +0000 (22:31 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Dec 2016 19:35:19 +0000 (20:35 +0100)
commitd50b0fe24aef14eba7a4cf121146ca1213384e2e
treecbd656568fb28e607e60fd1d316af4c0d412be1d
parent61e42e8527d779a48df6971eaecf2b7a7d71c7da
core: Add function indirection.

* mes.c (functions): New array.
  (scm_t): Change function pointer to index.
  (make_cell): Handle function.
  (call): Update for function change.
  (display_): Likewise.
  (make_function): New function.
* build-aux/mes-snarf.scm (function->source): Update declarations.
  (function->environment): New function.
build-aux/mes-snarf.scm
mes.c