Hare by Example now has syntax highlighting and clearer examples for struct sub-typing vs. interfaces thanks to feedback from various Hare maintainers, contributors, and other users of the language.
https://harebyexample.org
#HareLang
I think I have a solution for adding syntax highlighting to Hare by Example without JavaScript.
I think I'll just run this over each example and then inject the results into the code section of each example at generation-time. Sure, it adds a CLI dependency, but avoids JavaScript and needing to rewrite this in Hare directly...for now.
https://github.com/alecthomas/chroma?tab=readme-ov-file#command-line-interface
#HareByExample #HareLang #Programming