[native_doc_dartifier] project set-up with an example (#2373)

* Squashed commit of the following:

commit 1a56b199485ecbf70cfa9da2eb5521322ba1c13e
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Tue Jun 24 06:12:52 2025 +0300

    Dart like representation

commit a403817c22b5f936ada0e1e3d0b161448a49817d
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sun Jun 22 23:55:51 2025 +0300

    Revert "method to get the summary"

    This reverts commit cc8c61e1a114da2df4eae182ea494c71dd402e67.

commit cc8c61e1a114da2df4eae182ea494c71dd402e67
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sun Jun 22 23:43:29 2025 +0300

    method to get the summary

commit b112f249a8d9d1975ae1a1fe7471f97acef76e0b
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sat Jun 21 06:58:50 2025 +0300

    reduce 80 chars line

commit 05907572c70aa010368b3b63b8e995f26a8b108c
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sat Jun 21 06:52:55 2025 +0300

    ignore line

commit d6eea204fd3ac5ebc4141a29f8359a027eede341
Merge: a18b2e20 7944c5a0
Author: Marshelino Maged <78962756+marshelino-maged@users.noreply.github.com>
Date:   Sat Jun 21 06:44:36 2025 +0300

    Merge branch 'dart-lang:main' into public-code-summary

commit a18b2e2042462d38fb389eebe33aaf13067c5d8c
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sat Jun 21 06:05:48 2025 +0300

    operator methods

commit 7b26f899759aed79a82b605effd99be5fc793f10
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sat Jun 21 05:11:34 2025 +0300

    finish getting summary

commit cd0bf5f81c4bfd8883fa1aa8ad2f8dc398478ded
Merge: 4d6a77bf 5eadfaf3
Author: Marshelino Maged <78962756+marshelino-maged@users.noreply.github.com>
Date:   Sun Jun 15 09:58:27 2025 +0300

    Merge branch 'dart-lang:main' into public-code-summary

commit 4d6a77bf8d1175d4749402fc7ced0e6ea92fa625
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sun Jun 15 09:55:29 2025 +0300

    Update public_abstractor.dart

commit 1154d6fd7a7e7ecdd5d74bccdb2d20966aa5c3e3
Author: Marshelino Maged <marshelinomaged@gmail.com>
Date:   Sun Jun 15 09:54:25 2025 +0300

    field summary

* initial translate prompt with its parsing

* the main function of the package with calling LLM

* adding example

* fix bug

* Use flutter instead of dart in CI
7 files changed
tree: 602521b4ab4133a6b89cdf54879040eeacbda0ba
  1. .github/
  2. .idx/
  3. pkgs/
  4. tool/
  5. .gitignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
README.md

Coverage Status

Overview

This repository is home to Dart packages related to FFI and native assets building and bundling.

Packages

PackageDescriptionIssuesVersion
code_assetsThis package contains the Dart API for code assets in hook/build.dart and hook/link.dart.issues
data_assetsThis package contains the Dart API for data assets in hook/build.dart and hook/link.dart.issues
ffiUtilities for working with Foreign Function Interface (FFI) code.issuespub package
ffigenGenerator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.issuespub package
hooksThis package contains the API for hook/build.dart and hook/link.dart.issues
hooks_runnerThis package is the backend that invokes hook/build.dart and hook/link.dart from Dart and Flutter.issues
jniA library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.issuespub package
jnigenA Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.issuespub package
native_doc_dartifierA library that converts code snippets from other languages into Dart.issuespub package
native_toolchain_cA library to invoke the native C compiler installed on the host machine.issues
objective_cA library to access Objective C from Flutter that acts as a support library for package:ffigen.issuespub package
swift2objcA tool for generating bindings that allow interop between Dart and Swift code.issuespub package
swiftgenA tool for generating bindings that allow interop between Dart and Swift code.issuespub package

External packages

Packages not on this repo but also related to FFI and native assets. ❤️

PackageDescriptionVersion
native_toolchain_cmakeA library to invoke CMake for Dart Native Assets.pub package
native_toolchain_goA library to invoke the native Go compiler installed on the host machine.pub package
native_toolchain_rustA library to invoke the native Rust compiler installed on the host machine.pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.