Skip to content

Refactor/language base classes#2

Merged
komodgn merged 2 commits into
developfrom
refactor/language-base-classes
May 7, 2026
Merged

Refactor/language base classes#2
komodgn merged 2 commits into
developfrom
refactor/language-base-classes

Conversation

@komodgn
Copy link
Copy Markdown
Owner

@komodgn komodgn commented May 6, 2026

No description provided.

komodgn added 2 commits May 7, 2026 03:03
- Introduce CLikeLanguageDefinition and ScriptLanguageDefinition.
- Add PythonDefinition and update Java/Kotlin to inherit from new base classes.
- Update SyntaxParser to use dynamic rules from definitions.
- Update SampleCode.kt to provide tailored snippets for Kotlin, Java, and Python.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

Warning

Rate limit exceeded

@komodgn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 46 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 17320392-0ac0-422c-90ee-eb03993d3ced

📥 Commits

Reviewing files that changed from the base of the PR and between ea3e5eb and 43d5f60.

📒 Files selected for processing (16)
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/CodeLanguage.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/Token.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/extension/CodeLanguage.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/JavaDefinition.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/KotlinDefinition.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/PythonDefinition.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/base/CLikeLanguageDefinition.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/base/LanguageDefinition.kt
  • codeview/core/src/commonMain/kotlin/io/github/komodgn/codeview/core/languages/base/ScriptLanguageDefinition.kt
  • example/build.gradle.kts
  • example/src/commonMain/kotlin/io/github/komodgn/example/Application.kt
  • example/src/commonMain/kotlin/io/github/komodgn/example/component/LanguageDropDown.kt
  • example/src/commonMain/kotlin/io/github/komodgn/example/section/CodeViewSection.kt
  • example/src/commonMain/kotlin/io/github/komodgn/example/section/EditorSection.kt
  • example/src/commonMain/kotlin/io/github/komodgn/example/theme/CodeViewTheme.kt
  • example/src/commonMain/kotlin/io/github/komodgn/example/util/SampleCode.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/language-base-classes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@komodgn komodgn merged commit d6eb9b5 into develop May 7, 2026
2 checks passed
@komodgn komodgn deleted the refactor/language-base-classes branch May 7, 2026 08:25
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.

1 participant