-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 mcfunction language #4425
Add mcfunction language #4425
Conversation
Not sure why the build "errored" as opposed to failing or passing. Looks like it got part way through https://travis-ci.org/github/linguist/jobs/494397050#L1494 (Edit) On a second glance, I saw this: https://travis-ci.org/github/linguist/jobs/494397050#L1213
Did I miss something in the commit after the |
Yes, there's something missing. Did you use the provided script to add the grammar as per the contribution guidelines? Did you get any error message? |
Maybe you forgot to commit the submodule itself then. It should be under |
Nice catch. But because language-mcfunction has received commits since I submitted the PR, I'm now facing a problem where the cached license is outdated. And apparently the language is not sorted correctly, but IIRC it was a script that |
This may or may not be worth consideration, but there is an inconsistency between |
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.
Thanks for your contribution and for the neat pull request @Arcensoth!
Thanks for reviewing! Small suggestion for |
Sorry, I missed this. Yes, let's. Case-sensitive is strange and feels very machine-line. |
Description
This is an interesting case of "language" that originates from Minecraft server commands. The mcfunction file format is essentially a collection of server commands, one per line, with additional comment support and some unique runtime properties. The idea is simple, but the underlying command system is complex enough to warrant discussion about whether mcfunction should be considered a type of programming language. In any case: mcfunction files are both written and distributed in plain text, naturally giving way to open-source collaboration.
The search results listed in the checklist provide proof that mcfunction is being used across a reasonable number of repositories. There's even an open-source language server in development that includes extensive support for the mcfunction format.
I ran linguist dev on the language-mcfunction repository to get a breakdown of the results and to ensure my changes are functional.
Checklist:
mcfunction
:nothack
tellraw
setblock
area_effect_cloud
showcase.mcfunction
from language-mcfunctionmcfunction