# Syntax-case via defmacro

**URL:** <https://racket.discourse.group/t/syntax-case-via-defmacro/1502>\
**Category:** Questions & Answers\
**Created:** [November 18, 2022, 11:00pm UTC](https://racket.discourse.group/t/syntax-case-via-defmacro/1502 "2022-11-18T23:00:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben\_greenman](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/ben_greenman/32/632_2.png) [@ben\_greenman](https://racket.discourse.group/u/ben_greenman)\
**Post date:** [November 18, 2022, 11:00pm UTC](https://racket.discourse.group/t/syntax-case-via-defmacro/1502/1 "2022-11-18T23:00:14Z")

</div>

Does anyone know where to find an implementation of syntax-case or syntax-rules in Common Lisp, using just defmacro ?

---

<div class="post-metadata">

**Author:** ![samth](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/samth/32/3_2.png) [@samth](https://racket.discourse.group/u/samth)\
**Post date:** [November 21, 2022, 8:36pm UTC](https://racket.discourse.group/t/syntax-case-via-defmacro/1502/2 "2022-11-21T20:36:32Z")

</div>

I think this paper is the best source: [Embedding Hygiene-Compatible Macros in an Unhygienic Macro System](https://lib.jucs.org/article/29595/)
