apollovm 0.0.43 apollovm: ^0.0.43 copied to clipboard
ApolloVM is a portable VM (native, JS/Web, Flutter) that can parse, translate, and execute multiple languages such as Dart, Java, and JavaScript. It also provides on-the-fly compilation to Wasm.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate apollovm
Use it
The package has the following executables:
$ apollovm
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apollovm
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
apollovm: ^0.0.43
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:apollovm/apollovm.dart';