Nice, I'll be following this with interest! What are the pros and cons of
developing a new syntax highlighting format from scratch, versus e.g.
parsing and reusing the kate style files? For the latter route this haskell
package is a good source of inspiration:
https://hackage.haskell.org/package/skylighting

martin

On Tue, Feb 18, 2020 at 10:27 AM Sage Gerard <s...@sagegerard.com> wrote:

> Hi folks,
>
> I'm starting a syntax highlighter project here:
> https://github.com/zyrolasting/syntax-highlighting
>
> There seems to be a precedent for using an existing highlighter from
> another ecosystem. I understand the pragmatism behind that, but a syntax
> highlighter seems to me a missing battery in Racket.
>
> Without funding I am unable to compete with the implementations with 200+
> languages supported. So I merely intend to provide two renderers (Terminal
> and HTML [XML syntax]), some palettes, and a sensible extension to parsack
> that classifies characters using Pygments' token classes. This should
> provide a strong, familiar core on which to add features according to
> community interest.
>
> That being said, I invite feedback and collaboration to add support for
> languages once the core mechanisms are established.
>
> *~slg*
>
>
> --
> 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+unsubscr...@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
> <https://groups.google.com/d/msgid/racket-users/GC9QAolNyNFBE-KrDXfvA0q0P5_7jBWs7DEger3xGw5sYRmKg0rowpzyLIlyb1hrDOg_2xxTLn74TR5pCDIPhOzqIN5baGHoO7TU4GuaLDI%3D%40sagegerard.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAFrFfuEgrVdj8hB947%3DOZo2EEVyxO8s%2B%3DQnUjBndHst1S2a25w%40mail.gmail.com.

Reply via email to