Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexknauth/hygienic-quote-lang
hygienic versions of quote-like racket reader macros
https://github.com/alexknauth/hygienic-quote-lang
Last synced: about 1 month ago
JSON representation
hygienic versions of quote-like racket reader macros
- Host: GitHub
- URL: https://github.com/alexknauth/hygienic-quote-lang
- Owner: AlexKnauth
- License: mit
- Created: 2015-10-16T03:22:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T14:35:14.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T02:55:11.055Z (3 months ago)
- Language: Racket
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
hygienic-quote-lang [![Build Status](https://travis-ci.org/AlexKnauth/hygienic-quote-lang.png?branch=master)](https://travis-ci.org/AlexKnauth/hygienic-quote-lang)
===
A lang-extension that overrides the `'`, `` ` ``, etc. abbreviations for `quote`, `quasiquote`, etc, and
provides hygienic versions instead.documentation: http://pkg-build.racket-lang.org/doc/hygienic-quote/index.html
Even if you re-define `quote` somewhere in your program (either accidentally or on
purpose), `'3` will use the quote from racket/base, not your definition. The same is true
for `` ` `` as quasiquote, `,` as unquote, `,@` as unquote-splicing, `#'` as syntax, `` #` `` as
quasisyntax, `#,` as unsyntax, and `#,@` as unsyntax-splicing.```racket
#lang hygienic-quote racket
(define (quote x) 5)
'3 ; still 3
```