Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • zilf zilf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Jira
    • Jira
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • zilf
  • zilfzilf
  • Merge requests
  • !16

Add quasiquoting and reader prefix macros

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tara McGrew requested to merge topic/default/qq into branch/default Jan 12, 2021
  • Overview 0
  • Commits 6
  • Changes 30

This adds a new QQ package to the standard library, which when USEd, changes the backtick character ` to a "quasiquote" as seen in more modern Lisp derivatives.

`<FOO ~.BAR>

is equivalent to

<FORM FOO .BAR>

and

`<FOO ~!.BAR>

is equivalent to

<FORM FOO !.BAR>

The ` and ~ prefixes are implemented with another new package, READER-MACROS, which is built into ZILF. We still don't have a full implementation of read tables, but READER-MACROS could be changed to use read tables if they're added someday.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/default/qq