You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See section 4.3 of R7RS for a specification on hygienic macros. The Lispy.py code seems to support macros, so adding this feature to that milestone, but also needed for R7RS.
The text was updated successfully, but these errors were encountered:
See the explanation of macros on this page [1]. It makes it very clear how macros are to be implemented. Basically the macro takes the given form as-is, does whatever transformations it is intended to do, and the result is in turn evaluated by the reader. The use of ` and , in writing macros is common.
Having macro support will make implementing many of the other features simple, such as many of the derived expressions (e.g. and, cond, let and friends).
See section 4.3 of R7RS for a specification on hygienic macros. The Lispy.py code seems to support macros, so adding this feature to that milestone, but also needed for R7RS.
The text was updated successfully, but these errors were encountered: