1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-05 19:50:23 +02:00
guile/module/language
Brian Templeton c55a2ddc1b 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".
2010-08-13 16:35:51 -04:00
..
assembly rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
brainfuck remove `version' field from <language> 2010-05-02 11:19:13 +02:00
bytecode remove `version' field from <language> 2010-05-02 11:19:13 +02:00
ecmascript remove `version' field from <language> 2010-05-02 11:19:13 +02:00
elisp store macro definitions in the function slot 2010-08-13 16:35:51 -04:00
glil rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
objcode Add program-free-variables' to (system vm program)'. 2010-05-07 13:47:52 +02:00
scheme fix a comment about environments and the scheme compiler 2010-05-02 11:19:46 +02:00
tree-il resolve-primitives tweaks 2010-06-17 13:43:26 +02:00
value remove `version' field from <language> 2010-05-02 11:19:13 +02:00
assembly.scm rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
glil.scm prompt handlers are always inline 2010-02-19 15:30:34 +01:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm Remove trailing whitespace 2010-07-09 21:22:27 -05:00