-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Huff #6470
base: main
Are you sure you want to change the base?
Add support for Huff #6470
Conversation
Unsure of why 3.2 test failing |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can fix the tests by capitalising the h
in the samples directory name: samples/huff/
-> samples/Huff/
Address feedback by @lildude in github-linguist#6470 (comment)
Subtle overlook on my part, apologies and thank you for pointing that out! Is their insufficient usage of this language to be considered for inclusion right now (re: label of Thanks for the feedback, appreciate it. |
Yup. Usage of all extensions being added needs to meet usage requirements so you might want to consider removing the I've used the search link you've provided in the template (I'm AFK on mobile only ATM) so if you can improve that to match more files, then go for it. |
Thank you for the clarification. One would think that file extensions would be a transitive relational property, I removed the short hand Thanks for your patience, much obliged! |
Such a contrived example would only really be useful for the grammar, not linguist. We need real world samples as they're used to train the classifier, not validate syntax highlighting, so a contrived example is more likely to lead to misidentification. |
There are now over 1.1k file (164 ms) results found using the query: https://github.com/search?q=%28path%3A*.huff+OR+path%3A*.Huff%29&type=code Appreciate the patience @lildude - have fixed all outstanding issues, please let me know how this can move forward. Cheers! |
From a quick glance, things are looking good now though usage is still too low when we exclude forks and the huff-language user. I'll keep reviewing the usage with each release. |
popularity about to rise with the upcoming Huff hackathon! :) |
Thanks for the clarification, I appreciate the follow-up. Will circle back around and check as well, we are at 932 reported findings per your query. Cheers,
|
The query above now returns over 1.2k files! Plus, Huff icon just got merged to a widely-used icon theme material-extensions/vscode-material-icon-theme#2190 |
May we get a review @lildude - we should be good to go! Please let me know if you want any additional changes or clean up of git commits etc. Thanks! |
Reviews of all pending popularity PRs takes place when I'm preparing for the next release. This will be reviewed again then. |
When do you plan on preparing a next release? I ask because I was going to submit a fix for the TOML grammar that is being used, which would involve replacing the current one in use as its not actively maintained. Thanks for the follow up, as linguist is a production dependency for GitHub I appreciate the care taken! |
I need to do it before my colleagues start preparing the next release of Enterprise Server which starts around the middle of the month, so it'll probably be sometime next week or early the week after. |
Thanks for the update, will be sure to keep an eye out in case any changes/updates need to be made. Cheers! |
hey @lildude just circling back seeing if there is anything on my end needed to get this sorted! Thanks again! |
As previously stated, nothing more is needed on this PR and I review popularity with each release. Our requirements still weren't met when I reviewed for the last release. I do not comment each time as it's too time consuming, so no news is good news. There's also no need to keep merging in master unless the UI indicates there is a conflict. |
Thanks, I only ask because I see a release was made on May 2nd, so just making sure we do not get left behind! |
Just circling back on this PR, as was updating #6988 for adding RFC 5545/iCAL support |
♞ Huff
Huff is a low-level programming language designed for developing highly optimized smart contracts that run on the Ethereum Virtual Machine (EVM). Huff does not hide the inner workings of the EVM and instead exposes its programming stack to the developer for manual manipulation.
Checklist:
The extension of the new language is used in hundreds of repositories on GitHub.com.
I have included a real-world usage sample for all extensions added in this PR:
I have included a syntax highlighting grammar: https://github.com/sambacha/huff-ghlang
I have added a color
#707598
https://www.color-hex.com/color/707598I have updated the heuristics to distinguish my language from others using the same extension.