--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/GC9QAolNyNFBE-KrDXfvA0q0P5_7jBWs7DEger3xGw5sYRmKg0rowpzyLIlyb1hrDOg_2xxTLn74TR5pCDIPhOzqIN5baGHoO7TU4GuaLDI%3D%40sagegerard.com.
In my opinion, it would be very cool if the project is based on DrRacket’s color-lexer
ecosystem. So instead of writing an ad-hoc lexer for, say, Python, we instead help improving the existing #lang python
‘s color-lexer
.
Pro:
color-lexer
Con:
It looks like we can programmatically extract information from color-lexer
via module-lexer
. See this file for its usage.
And since we use DrRacket’s ecosystem, we can go further than just syntax highlighting. E.g., showing a binding arrow interactively when hovering mouse over an identifier. The code example at this link shows how we can extract such information.
I'm very much in favor of interoperability and am happy to work in that direction. Does this imply that we need a #lang for each highlighting target?
What happens if you want to highlight code mixtures? Some snippets of interest to me can include Javascript, Markdown, CSS, HTML and Racket all within 20 lines.
--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CADcuegs-76-meLv7Lmr7enGy47fUqGeJChwq%2B%2B9Xbk7b%2Bz6GgQ%40mail.gmail.com.