Kotlin / Kotlin/dataframe

Expose meta information about built in type converters as public api for compiler plugin

Open
#1,696 4 comments 2 reactions 0 assignees View on GitHub
Compiler plugin enhancement
Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

We don't have extensibility here except for Parsers (String -> Something). So List -> Int is always an error. Would be nice to be able to generate a map of supported converters and use it for diagnostic there

`dataFrameOf("a" to columnOf(listOf(1, 2, 3))).convert { a }.toInt()`

We'd be able to filter some obvious errors, like selected File column being converted toDouble, etc. Seems minor, but interesting. Ideally it should be something lightweight, Map?

Contributor guide

Open the contributing guide

Research direction

Review the parser-based converter behavior and compiler plugin context described in the issue; no source files or tests are named. Define the supported converter metadata and public API, then verify diagnostics for invalid conversions such as List→Int and File→Double.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.