dart-lang / dart-lang/native

Rewrite APISummarizer in Dart

Open
#1,170 0 comments 0 reactions 0 assignees View on GitHub
area-summarizer package:jni package:jnigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 9h
Merged PRs (30d)
52

Description

Once JNIgen hits 1.0, we can rewrite APISummarize in Dart itself using JNIgen! This way we don't have to deal with [encoding issues](https://github.com/dart-lang/native/pull/1141), [i/o issues](https://github.com/dart-lang/native/issues/655), and having to maintain a Java tool.

APISummarizer can be somewhat separated and instead of outputting JSON and parsing it again, it directly returns Dart classes used by JNIgen. Since JNIgen is a dev dependency, there won't be any dependency cycles between the two tools.

Contributor guide

Open the contributing guide

Research direction

Start by checking whether JNIgen has reached 1.0, then locate APISummarizer and the Java tool it would replace. Confirm how JNIgen currently consumes the JSON output; done means APISummarizer is implemented in Dart, directly returns the Dart classes used by JNIgen, and avoids the stated encoding, I/O, parsing, and dependency-cycle concerns.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, java
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.