Skip to content
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

Kotlin support #570

Open
morgante opened this issue Oct 30, 2024 · 8 comments · May be fixed by #573
Open

Kotlin support #570

morgante opened this issue Oct 30, 2024 · 8 comments · May be fixed by #573

Comments

@morgante
Copy link
Contributor

We would like to support Kotlin as a language for matching against.

Review this guide and join us on Discord to discuss.

Acceptance criteria

  1. Working grammar + language support
  2. At least 10 test cases, including rewrites and metavariables.
@morgante
Copy link
Contributor Author

/bounty $250

Copy link

algora-pbc bot commented Oct 30, 2024

💎 $250 bounty • Grit

Steps to solve:

  1. Start working: Comment /attempt #570 with your implementation plan
  2. Submit work: Create a pull request including /claim #570 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to getgrit/gritql!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @Alex-ley-scrub Oct 30, 2024, 6:58:59 PM #573

@Alex-ley-scrub
Copy link
Contributor

Alex-ley-scrub commented Oct 30, 2024

/attempt #570

Algora profile Completed bounties Tech Active attempts Options
@Alex-ley-scrub 4 grit bounties
Rust
﹟539
Cancel attempt

@morgante
Copy link
Contributor Author

/assign @Alex-ley-scrub

Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Oct 31, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Oct 31, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 2, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 8, 2024
…ch of places to enable metavariable substitution

fixes getgrit#570
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 8, 2024
…ources/language-metavariables/tree-sitter-kotlin/"

fixes getgrit#570
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 8, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 8, 2024
@Alex-ley-scrub Alex-ley-scrub linked a pull request Nov 8, 2024 that will close this issue
14 tasks
Copy link

algora-pbc bot commented Nov 8, 2024

💡 @Alex-ley-scrub submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 9, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 9, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 9, 2024
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Nov 15, 2024
…ython-metavariable-grammar with fewer $.grit_metavariable but at 'higher' level

fixes getgrit#570
@urbit-pilled
Copy link
Contributor

Hello @Alex-ley-scrub do you still plan on completing this? I see that you requested a review but your test cases are failing.

@Alex-ley-scrub
Copy link
Contributor

@urbit-pilled yeah I’ll be completing it. I’ve been chatting to @morgante on Discord. I was waiting for some tips from him regarding where to look. Essentially, I’ve done ~90+% of the work and it looks like the metavariable grammar is working fine etc. but then some snippets don’t match (hence broken tests - the tests I added to make sure the snippets where matching correctly). He’s told me where to have a look now so I can restart the work.

@urbit-pilled
Copy link
Contributor

urbit-pilled commented Dec 5, 2024

Ok, good to hear @Alex-ley-scrub. If you need help you can message me on discord. (I'm in the Algora and GritQL server)

In my experience, this task is more complex than it initially appears. A few months ago, I added PHP and Ruby to Grit for a much larger amount, and I initially underestimated the difficulty of the task. As I began working on it, I encountered numerous problems along the way.

You can take a look at my fork if you want to see a kotlin branch that passes a few test cases.

Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
…ch of places to enable metavariable substitution

fixes getgrit#570
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
…ources/language-metavariables/tree-sitter-kotlin/"

fixes getgrit#570
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
Alex-ley-scrub added a commit to Alex-ley-scrub/gritql that referenced this issue Jan 6, 2025
…ython-metavariable-grammar with fewer $.grit_metavariable but at 'higher' level

fixes getgrit#570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants