Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 2.35 KB

README.md

File metadata and controls

23 lines (19 loc) · 2.35 KB

Overview

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

Warning

This repository is a WIP, and the packages are currently basically not implemented. The plan is to reuse the generators from the Dart language, but generate Koka code. Eventually we might transition to a more optimized workflow for Koka, without all of the extras we don't need. Every once in a while we should sync from the upstream Dart project, the methodology for doing so is still being determined.

Packages

Package Description Version
ffi Utilities for working with Foreign Function Interface (FFI) code. pub package
ffigen Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. pub package
objective_c A library to access Objective C from Flutter that acts as a support library for package:ffigen. pub package
jni A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. pub package
jnigen A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. pub package
native_assets_builder This package is the backend that invokes build hooks. pub package
native_assets_cli A library that contains the argument and file formats for implementing a native assets CLI. pub package
native_toolchain_c A library to invoke the native C compiler installed on the host machine. pub package