A refactoring tool for Racket built on top of syntax-parse
.
Use the Racket package manager to install in the installation scope.
raco pkg install --installation resyntax
The --installation
flag (shorthand for --scope installation
) installs packages for all users of a Racket installation and ensures resyntax
is in your $PATH
.
e.g.
% resyntax analyze --file coroutines-example.rkt
resyntax: --- analyzing code ---
resyntax: --- displaying results ---
%
See the documentation for more details on how to use resyntax
.
Resyntax integrates with GitHub in two ways: an analyzer GitHub action that reviews pull requests, and an autofixer GitHub action that periodically creates pull requests cleaning up a repository. You can find reviews the Resyntax analyzer has left on GitHub pull requests "in the wild" using this search. To find pull requests created by the autofixer, use this search.