Add Kotodama language grammar and samples#7889
Draft
takemiyamakoto wants to merge 1 commit intogithub-linguist:mainfrom
Draft
Add Kotodama language grammar and samples#7889takemiyamakoto wants to merge 1 commit intogithub-linguist:mainfrom
takemiyamakoto wants to merge 1 commit intogithub-linguist:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
Kotodamaas a first-class language in Linguist, mapping.kofiles to the TextMate scopesource.kotodama.This PR includes:
https://github.com/takemiyamakoto/language-kotodamaKotodamaentry inlib/linguist/languages.yml.kosamples from the public Hyperledger Iroha repositoryThis is opened as a draft because the current public usage counts appear to be below Linguist's usual threshold for new languages. I wanted to provide a concrete implementation for maintainers to evaluate, but I am explicitly not claiming that the adoption bar has been met.
Checklist:
I am adding a new extension to a language.
I am adding a new language.
extension:ko seiyaku NOT is:fork->67extension:ko kotoage NOT is:fork->62extension:ko "register_trigger" NOT is:fork->2#C26E2DI am fixing a misclassified language
I am changing the source of a syntax highlighting grammar
I am updating a grammar submodule
I am adding new or changing current functionality
bundle _2.7.2_ exec ruby -Ilib -e 'require "linguist"; ["samples/Kotodama/irohaswap.ko","samples/Kotodama/mint_rose_trigger.ko","samples/Kotodama/zk_vote_and_unshield.ko"].each { |p| blob = Linguist::FileBlob.new(p); puts "#{p}: #{blob.language&.name}" }'KotodamaI am changing the color associated with a language