# Announcement: Custom Resyntax Rules

**URL:** https://racket.discourse.group/t/announcement-custom-resyntax-rules/3176
**Category:** Show & Tell
**Created:** [September 24, 2024, 12:32am UTC](https://racket.discourse.group/t/announcement-custom-resyntax-rules/3176 "2024-09-24T00:32:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![notjack](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@notjack](https://racket.discourse.group/u/notjack)
#### Post date: [September 24, 2024, 12:32am UTC](https://racket.discourse.group/t/announcement-custom-resyntax-rules/3176/1 "2024-09-24T00:32:25Z")

</div>

[Resyntax](https://docs.racket-lang.org/resyntax/) now has a [public API](https://docs.racket-lang.org/resyntax/Refactoring_Rules_and_Suites.html) for creating your own refactoring rules. The API is based on `syntax-parse`. It ought to be familiar to anyone used to writing macros with [`define-syntax-parse-rule`](https://docs.racket-lang.org/syntax/Defining_Simple_Macros.html#%28form._%28%28lib._syntax%2Fparse%2Fdefine..rkt%29._define-syntax-parse-rule%29%29). You can use your custom rules by grouping them into a _refactoring suite_ and using the `--refactoring-suite` argument in the `resyntax` command line interface.
