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

Basic usage not work #32

Open
ygj0930 opened this issue Nov 14, 2024 · 1 comment
Open

Basic usage not work #32

ygj0930 opened this issue Nov 14, 2024 · 1 comment

Comments

@ygj0930
Copy link

ygj0930 commented Nov 14, 2024

val language = Language(TreeSitterKotlin.language())
val parser = Parser(language)
val tree = parser.parse("fun main() {}")
val rootNode = tree.rootNode

But TreeSitterKotlin.language() not exist?

@ObserverOfTime
Copy link
Member

Parser bindings are not yet available. Check fwcd/tree-sitter-kotlin@135386b.
You can add the parser repo you want as a submodule and point the grammarDir to it.

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

No branches or pull requests

2 participants