jackfirth / jackfirth/resyntax
Refactoring custom languages
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 70
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Resyntax should be able to refactor more than just #lang racket and #lang racket/base code. For example, Resyntax should be able to rewrite this:
#lang rhombus
(1 + 2) + 3
Into this:
#lang rhombus
1 + 2 + 3
Immediate applications include writing refactoring rules specific to Rhombus, Typed Racket (see #13), and Scribble.
I have some ideas about how to get this working, but no concrete solution yet. And I don't yet know how to address the fmt side of things here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by investigating how Resyntax currently recognizes #lang racket and #lang racket/base, then determine how custom-language refactoring and the fmt side should work. Done means the Rhombus example rewrites as shown and the approach supports Rhombus, Typed Racket, and Scribble rules.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100