Closed sebthom closed 10 months ago
Hey!
We can’t add every language. Why should this one be included?
Much in this project is generated. You can also do this yourself:
We can’t add every language. Why should this one be included?
For Haxe I understand the question as it is a niche language but relatively popular amongst game developers. My answer in this case would be: "because I use it" :)
Dart on the other hand is amongst the 20 most popular programming languages ahead of Rust and Kotlin and way ahead of some of languages which are already support by this project. So I feel it should be obvious to support it and if there are performance concerns, maybe one of the less popular languages like coffeescript or elm clould be dropped in exchange for dart. https://spectrum.ieee.org/the-top-programming-languages-2023
Why not generate your own bundle? You can choose what you want to support.
haxe is not convincing to me.
I am including the textmate grammar in a scheduled build to automatically included the latest improvements. Having to manually alter the build.js seems error prone and defeats that purpose. If additional grammars included could be provided by some cli argument or a separate flat file to the build process it would simplify things.
You can have your own fork? And pull in changes from upstream while keeping your own changes as well?
I would accept a PR that adds a CLI for this repo.
I’d also accept a PR adding dart for everyone.
But I am not convinced adding haxe for everyone is a positive.
Thanks!
Please add support for embedded syntax highlighting for Dart and Haxe. The textmate scope names are source.dart and source.haxe
Dart Example
Haxe Example