Skip to content

Commit

Permalink
Edit macros.lissp docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch committed May 14, 2022
1 parent 70b5122 commit 6f5b04d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hissp/macros.lissp
Expand Up @@ -15,8 +15,8 @@ You can abbreviate qualifiers with the `alias` macro:

.. code-block:: Lissp

(hissp.macros.._macro_.alias b/ hissp.macros.._macro_.)
;; Now the same as (hissp.macros.._macro_.define foo 2).
(hissp.._macro_.alias b/ hissp.._macro_.)
;; Now the same as (hissp.._macro_.define foo 2).
(b/#define foo 2)

The bundled macros are deliberately restricted in design.
Expand All @@ -30,8 +30,8 @@ compiled code does not require Hissp to be installed to work.
They also have no prerequisite initialization, beyond what is available
in a standard Python module. For example, a ``_macro_`` namespace need
not be available for ``defmacro``. It's smart enough to check for the
presence of ``_macro_`` in its expansion context, and inline the
initialization code when required.
presence of ``_macro_`` (at compile time) in its expansion context, and
inline the initialization code when required.

With the exception of `prelude` (which uses `exec`), they also eschew
any expansions to Python code, relying only on the built-in special
Expand Down

0 comments on commit 6f5b04d

Please sign in to comment.