1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 13:30:26 +02:00

doc: Use fashionable terminology for macros.

* doc/ref/api-macros.texi (Macros): Mention EDSLs.
This commit is contained in:
Ludovic Courtès 2011-09-09 00:02:47 +02:00
parent c8286111e0
commit cf14f3011b

View file

@ -24,9 +24,15 @@ macro must appear as the first element, like this:
@end lisp @end lisp
@cindex macro expansion @cindex macro expansion
@cindex domain-specific language
@cindex embedded domain-specific language
@cindex DSL
@cindex EDSL
Macro expansion is a separate phase of evaluation, run before code is Macro expansion is a separate phase of evaluation, run before code is
interpreted or compiled. A macro is a program that runs on programs, translating interpreted or compiled. A macro is a program that runs on programs, translating
an embedded language into core Scheme. an embedded language into core Scheme@footnote{These days such embedded
languages are often referred to as @dfn{embedded domain-specific
languages}, or EDSLs.}.
@menu @menu
* Defining Macros:: Binding macros, globally and locally. * Defining Macros:: Binding macros, globally and locally.