github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.24k stars 4.23k forks source link

Magik (Smallworld) language #6258

Open nicorikken opened 1 year ago

nicorikken commented 1 year ago

Language name

Magik

URL of example repository

It is a bit of a niche, but the Wikipedia entry has plenty of examples.

URL of syntax highlighting grammar

@StevenLooman is the most active open source developer for this language. Here is a grammar https://github.com/StevenLooman/ANTLRMagikGrammar and a more recent development for linting and code-quality checks: https://github.com/StevenLooman/magik-tools

Most popular extensions

.magik

Detected language

None

nicorikken commented 1 year ago

@StevenLooman if we can get Magik supported by this library, it could be parsed by GitHub. What do you think?

StevenLooman commented 1 year ago

Thank you for creating this issue @nicorikken. I've looked into this before but came to the conclusion that an addition would not be accepted. I'm uncertain where, but I've read that there should be at least a specific number of repositories containing code in the given language.

Please disregard the https://github.com/StevenLooman/ANTLRMagikGrammar repo. This is old, incomplete and should not be used. The repo https://github.com/StevenLooman/magik-tools is up to date, but (only) contains a proper grammar in written using the SSLR framework.

Other than that, I'm not really looking to pick up another thing to maintain at the moment. But perhaps the people from https://github.com/opensmallworld are interested? @ollie-sims @angusm43ge