Skip to content

Koka packages related to FFI and native assets bundling.

License

Notifications You must be signed in to change notification settings

koka-community/native

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Koka packages related to FFI and native assets bundling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 87.5%
  • C 9.4%
  • Java 1.5%
  • C++ 0.7%
  • CMake 0.6%
  • Objective-C 0.2%
  • Other 0.1%