kotlin native: Support for Kotlin expression evaluation in lldb?
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Regarding the evaluation of expressions, we analyzed the implementation in Swift. We found that lldb has implemented a Swift front-end compiler. When a user inputs an expression evaluation request in the command line while debugging a program, the Swift front-end compiler can correctly parse the Swift statements and accurately perform semantic restoration. I suspect this might be something that lldb cannot accomplish on its own by combining DWARF information and runtime. Therefore, does lldb need to have a built-in Swift expression parser? Is the Kotlin language also similar in this regard?
Contributor guide
Research direction
The issue names LLDB's Swift front-end compiler, DWARF information, and runtime support but no source files or tests. Start by reviewing how LLDB handles Swift expression evaluation, then compare the needs of Kotlin/Native debugging and determine the scope of Kotlin expression support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, swift
- Domain
- compilers, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100