-
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 Ralph #6831
base: main
Are you sure you want to change the base?
Add Ralph #6831
Conversation
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.
We can't accept this grammar because its license is not one of these. This is stated in the CONTRIBUTING.md file.
Let me check with the team if can change the license. I realize that the license for the code sample of wormhole is actually apache 2.0. I edited the PR description. |
GPL samples are fine as we tokenise them, but not grammars. |
Ok I discussed with the team, we're all fine to change our license to apache-2.0 https://github.com/alephium/ralph-vscode/blob/main/LICENSE . it's already done |
You need to update the submodule and add the cached license file. Replace the grammar with itself as per the docs should do the trick. |
using |
@lildude do you need anything else? |
🤔 I think the wrong content has been put in the LICENCE file of the grammar repo. It contains the content you normally put at the top of a file containing code and not the actual licence |
oops indeed, my bad. It's now fixed |
Changes have been applied. Just pending popularity now.
Description
Ralph
is the smart contract programming language for theAlephium
blockchainWe also have a tree-sitter-ralph, but from what I read we can't add those ourselves to linguist.
Thx for considering my request, I'm part of alephium team, so don't hesitate if you have any question.
Cheers
Checklist:
-https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.ral+path%3Acontracts
Used for alephium bridge
The sample in the PR is taken from that repo
Used for Ayin Swap
Used for alph.bet
The wormhole sample is:
GNU LESSER GENERAL PUBLIC LICENSEApache 2.0#6c23f5
linguist
with.ral