jgm/skylighting

Add syntax xml for Hare language

uvtc opened this issue · 5 comments

jgm commented

You can use it already by using --syntax-definition with pandoc.
As for inclusion as a default language in pandoc, it would depend on how widely used and established Hare is. It looks to be fairly new and in progress...so this may be premature.

Didn't know about that --syntax-definition option. Thanks!

I'd assumed that, if the xml syntax file is in that KDE repo, then it's by default included in skylighting. That is, that (for skylighting) you'd just pull directly from whatever they have.

Does pandoc by default make use of every syntax highlighting file that skylighting has?

jgm commented

We don't pull in everything in the KDE repo, to keep the compile times and binary size lower.

Hare has an official spec, has solid reference docs, and my impression is that it's all about being conservatively-developed and a "boring systems language" that'll stay stable after v1.0. That said, although there are a number of projects in Hare:

it's not yet widely-adopted.

jgm commented

I'm inclined to hold off for a while before adding it, to see how it develops, but if there's significant demand I could consider adding it. It's not urgent, because you can always use --syntax-definiton.