clojure_compiler_ffi_bridge 0.0.3 copy "clojure_compiler_ffi_bridge: ^0.0.3" to clipboard
clojure_compiler_ffi_bridge: ^0.0.3 copied to clipboard

PlatformmacOS

High-level memory-safe FFI bridge for Flutter/Dart <-> hand-written Clojure compiler

clojure_compiler_ffi_bridge: High-level memory-safe FFI bridge for Flutter/Dart <-> hand-written Clojure compiler #

Flutter Package Stars

Logo

Want to combine the best between Flutter, a cross-platform hot-reload rapid-development UI toolkit, and Clojure, a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming to build reliable and efficient software? Here it comes!

🚀 Advantages #

  • Memory-safe: Never need to think about malloc/free.
  • Cross-platform: Android, iOS, Windows, Linux, MacOS, and Web. (almost supported)
  • Fast: It is only a thin (though feature-rich) wrapper.
  • Pure-Dart compatible: This package is 100% compatible with Dart.

💡 Usage #

Example

Installation #

dependencies:
  clojure_compiler_ffi_bridge: ^0.0.1

Configure and execute #

import 'package:clojure_compiler_bridge/clojure_compiler_bridge.dart';
/// create instance of Clojure Compiler
final engine = Compiler();
/// execute Clojure source code line by line
callResult = engine.evalLine('<<some clojure code>>>');
JsonEncoder encoder = const JsonEncoder.withIndent('  ');
/// parse Clojure source code line by line to AST
evalResult = encoder.convert(engine.parseLine(_formController.text));
10
likes
140
pub points
0%
popularity

Publisher

verified publisheramoriodi.xyz

High-level memory-safe FFI bridge for Flutter/Dart <-> hand-written Clojure compiler

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, ffi, flutter, plugin_platform_interface, protobuf, test

More

Packages that depend on clojure_compiler_ffi_bridge