1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00
guile/module
Brian Templeton 8295b7c4e5 store macro definitions in the function slot
Guile Emacs Lisp previously kept macros in a separate macro slot; now
macros are stored as macro objects in the function slot for
compatibility with other implementations.

* module/language/elisp/compile-tree-il.scm (macro-slot): Remove.
  (is-macro?): Check that the argument is a symbol. Now-unnecessary
  check removed in `compile-tree-il'.
  (macro?, define-macro!, get-macro): Store macro definitions in the
  function slot, not in a separate macro slot.
* module/language/elisp/runtime.scm (built-in-macro): Wrap the macro
  function in a macro object (i.e., cons the symbol `macro' onto it).
* module/language/elisp/runtime/function-slot.scm: Move contents to
  "subrs.scm". Re-export function and macro definitions instead of
  defining functions directly in this module.
* module/language/elisp/runtime/macro-slot.scm: Move contents to
  "macros.scm" and remove.
* module/language/elisp/runtime/macros.scm: New file containing macro
  definitions from "macro-slot.scm".
* module/language/elisp/runtime/subrs.scm: New file containing function
  definitions from "function-slot.scm".

Signed-off-by: Andy Wingo <wingo@pobox.com>
2010-12-07 13:21:02 +01:00
..
ice-9 autoload compile-file in (guile-user) 2010-12-07 13:21:01 +01:00
language store macro definitions in the function slot 2010-12-07 13:21:02 +01:00
oop Remove goops-version, which is no longer defined 2010-10-02 18:14:45 +01:00
rnrs Some tweaks to the R6RS support 2010-11-25 23:04:12 +01:00
scripts Have "frisk" recognize #:use-module' and #:autoload'. 2010-10-27 23:31:49 +02:00
srfi Add implementation of SRFI 38 2010-11-03 00:19:54 +01:00
sxml sxml->xml fix 2010-12-02 22:24:26 +01:00
system Allow user-defined meta-commands 2010-11-20 23:55:19 +01:00
texinfo Fix typos. 2010-09-02 00:04:39 +02:00
web http-read calls setvbuf only once 2010-12-06 19:52:51 +01:00
Makefile.am store macro definitions in the function slot 2010-12-07 13:21:02 +01:00
rnrs.scm Work towards a more complete implementation of `(rnrs io ports)' 2010-11-24 23:04:24 +01:00
statprof.scm remove a number of debug options 2010-09-24 20:57:01 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00