flux_vm 2.0.0 copy "flux_vm: ^2.0.0" to clipboard
flux_vm: ^2.0.0 copied to clipboard

Stack-based bytecode virtual machine for the Flux scripting language. Includes debugger, standard library, and async support.

Flux VM #

A high-performance virtual machine for the Flux programming language, written in Dart.

Flux is a modern, reactive scripting language designed for UI development. This package flux_vm serves as the runtime engine that executes Flux bytecode chunks.

Features #

  • Stack-based Architecture: Efficient execution model.
  • Native Interop: Flexible binding system for Dart functions and objects.
  • Scope Management: Robust lexical scoping and variable resolution.
  • Async Support: Built-in support for asynchronous operations.

Usage #

import 'package:flux_vm/flux_vm.dart';

void main() {
  final vm = VM();
  
  // Register native modules
  // vm.registerModule(MyModule());
  
  // Run bytecode chunk
  // vm.run(chunk);
}

Contributing #

Contributions are welcome! Please see the main Flux repository for details.

0
likes
130
points
225
downloads

Publisher

unverified uploader

Weekly Downloads

Stack-based bytecode virtual machine for the Flux scripting language. Includes debugger, standard library, and async support.

Documentation

API reference

License

MIT (license)

Dependencies

crypto, cryptography, flux_compiler

More

Packages that depend on flux_vm