-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 Cairo language support #5751
Conversation
Closing as this is a duplicate of #5661 |
Hello, I though it would be better to open a new pull request since #5661 is irrelevant, there is no grammar in the added repo, even the "syntax highlighting grammar" link is empty |
Oh yes, you're right. I've not look at that PR yet since I requested the grammar be changed. Maybe you and @rajivpo can work together to merge your two together? (We don't need the samples from both). I plan to review PRs in the next week or two so if no action has been taken on #5661 by then, I might take this PR instead. Re-opening to put back onto my radar. |
Ok thanks, I'll try to contact @rajivpo |
Hi! Copied above from the other thread... so can GitHub (linguist) understand cson natively ? I believe it does but is not clear, so would be good to know for sure. @xshitaka I was looking around and noticed there is no cairo support for SublimeText yet so I took your grammar and tried to convert to So this discussion is only relevant in regard to GitHub in case it cannot actually read Let me know if I can be of any help, thank you. |
Hi ! @davidhq I've deduced that GitHub does support CSON since some languages already supported by GitHub are using a CSON grammar. Rust for exemple. About the SublimeText package, feel free to contact me on discord: Ashitaka#7787 if you want to discuss about it outside of this discussion. |
Yes, does support, also https://github-lightshow.herokuapp.com/ supports ok then, we talk more on Discord and hopefully Cairo is also part of linguist on next update :} |
Yup, definitely does… we convert all formats to JSON using this code.
Better be quick 😉. I'm aiming to release next week or the week after at the latest depending on my work load. |
If grammar https://github.com/xshitaka/atom-language-cairo remains in consistent working state (as it is now), then it's good enough for inclusion. We talked with @xshitaka yesterday and tested some more in both Sublime and Atom and it looks very suitable for inclusion as a first version that can later be further improved in places. I'd just suggest that if @xshitaka does any minor improvements this or next week to do it on a separate branch (or locally) and only merge after testing with https://github-lightshow.herokuapp.com/. |
Indeed, even if the actual version is suitable for inclusion, there's still a room from improvement, so I'll create another branch for future updates 👍 |
Hi @lildude ! I've seen that you've made a new release yesterday, any news about this PR? |
Sorry, I didn't understand that, it's this PR which will be used, the #5661 one looks dead and anyway it doesn't even add a grammar. |
I thought you were telling us to be quick if we wanted to modify the grammar before the release |
I also thought it was clear this is ready... but misunderstandings happen. |
Thanks for confirming. I've closed #5661 in favour of this one. I'll merge now, but as pointed out, this won't be available on GitHub until the next release which I aim to make in a month or two's time, though this is subject to change. |
Description
Checklist:
concat_arr.cairo
, GPL v3safemath.cairo
, MITcontract.cairo
, Apache 2.0