resyntax
resyntax copied to clipboard
Use `module-lexer` to parse comments
The current comment parsing code in Resyntax is specific to #lang racket
, incomplete, and irritating to maintain. Resyntax should use module-lexer
to find comment locations in the file. This will properly handle expression comments like #;(foo)
. It should also work automatically for comments in other languages, hopefully making #270 easier to implement.