Previous: , Up: The Language   [Contents][Index]

4.9 Syntax

SCM provides a native implementation of defmacro. See Defmacro in SLIB.

When built with ‘-F macro’ build option (see Build Options) and ‘*syntax-rules*’ is non-false, SCM also supports [R5RS] syntax-rules macros. See Macros in Revised(5) Scheme.

Other Scheme Syntax Extension Packages from SLIB can be employed through the use of ‘macro:eval’ and ‘macro:load’; Or by using the SLIB read-eval-print-loop:

(require 'repl)
(repl:top-level macro:eval)

With the appropriate catalog entries (see Library Catalogs in SLIB), files using macro packages will automatically use the correct macro loader when ‘require’d.