-
Notifications
You must be signed in to change notification settings - Fork 663
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 a lexer for Schemas for Minecraft Add-ons and 4 examples, merging lexers #2276
Conversation
Re CI failure: apparently, you did not Thus please run |
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.
Please check the CI failure, I think you need to update goldens.
Thanks! |
Schema is a formal language for the game Minecraft official staff and docs to show data file structures and interface formats, and also for Minecraft Add-ons creators to communicate or teach with each other.
Reference: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/schemasreference/
Community usage example: https://www.mcbe-dev.net/addons/data-driven/manifest.html
This lexer is summarized from official and some community examples for maximum coverage.
Four examples are provided for lexer tests.
Moreover, this commit merged the existing MCFunction and SNBT with the newly added MCSchema language.