Skip to content

Improvements to the Kotlin parser#555

Open
punchagan wants to merge 2 commits intosemgrep:mainfrom
tarides:kotlin-improvements
Open

Improvements to the Kotlin parser#555
punchagan wants to merge 2 commits intosemgrep:mainfrom
tarides:kotlin-improvements

Conversation

@punchagan
Copy link
Contributor

Checklist

  • Any new parsing code was already published, integrated, and merged into Semgrep. DO NOT MERGE THIS PR BEFORE THE SEMGREP INTEGRATION WORK WAS COMPLETED.
  • Change has no security implications (otherwise, ping the security team)

@punchagan punchagan force-pushed the kotlin-improvements branch 6 times, most recently from f70ee3b to 2812f67 Compare December 16, 2025 11:27
@punchagan punchagan force-pushed the kotlin-improvements branch from 874aa71 to 1d62104 Compare March 10, 2026 16:54
@punchagan punchagan force-pushed the kotlin-improvements branch from 4aa971a to 4515172 Compare March 13, 2026 06:12
@yosefAlsuhaibani yosefAlsuhaibani self-requested a review March 13, 2026 17:27
@yosefAlsuhaibani
Copy link
Contributor

yosefAlsuhaibani commented Mar 13, 2026

@punchagan feel free to ping me when this is ready to be reviewed!

@punchagan punchagan marked this pull request as ready for review March 14, 2026 03:41
@punchagan punchagan requested a review from a team as a code owner March 14, 2026 03:41
@punchagan
Copy link
Contributor Author

@yosefAlsuhaibani this PR is now ready for review. Once this PR is merged, I'm assuming you will be able to run the release kotlin command to update the semgrep/semgrep-kotlin repo.

Copy link
Contributor

@yosefAlsuhaibani yosefAlsuhaibani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine: I am slightly worried abt the added complexity of the scanner, but seems necessary to accommodate having a simple grammar.

@punchagan
Copy link
Contributor Author

I am slightly worried abt the added complexity of the scanner, but seems necessary to accommodate having a simple grammar.

Yep. All the changes are from upstream, though. Hopefully any issues with the added complexity will get addressed upstream.

Let me know if you need me to do anything additionally on this, PR! Thanks for reviewing it.

@yosefAlsuhaibani
Copy link
Contributor

yosefAlsuhaibani commented Mar 16, 2026

@punchagan I just published the changes to semgrep/semgrep-kotlin; It should be available on this commit semgrep/semgrep-kotlin@1bddb22. Let's get that PR pointing to this commit!

@yosefAlsuhaibani
Copy link
Contributor

I am slightly worried abt the added complexity of the scanner, but seems necessary to accommodate having a simple grammar.

Yep. All the changes are from upstream, though. Hopefully any issues with the added complexity will get addressed upstream.

Let me know if you need me to do anything additionally on this, PR! Thanks for reviewing it.

Of course, thank you for doing this work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants