how do i use kotlin grammar tools ``` Line 12: ...
# announcements
s
how do i use kotlin grammar tools
Copy code
Line 12:     val tokens = tokenizeKotlinCode("val x = foo() + 10;")
                            ^ Unresolved reference: tokenizeKotlinCode
Copy code
repositories {
    flatDir {
        dirs "../kpp/libs"
    }
}

dependencies {
    implementation name: 'kotlin-grammar-tools-0.1'
}
as i am trying to obtain an AST of kotlin code for analysis rather than trying to make my own kotlin lexer/parser that probably does not detect all code cases