Skip to main content

tom_d4rt_host 0.1.0 copy "tom_d4rt_host: ^0.1.0" to clipboard
tom_d4rt_host: ^0.1.0 copied to clipboard

Hosting the D4rt interpreter in an application: a resident worker isolate that serves runs one at a time, one interpreter per set of registered bridges, a parsed-program cache keyed by source hash, a [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add tom_d4rt_host

With Flutter:

 $ flutter pub add tom_d4rt_host

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  tom_d4rt_host: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:tom_d4rt_host/tom_d4rt_host.dart';
0
likes
150
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Hosting the D4rt interpreter in an application: a resident worker isolate that serves runs one at a time, one interpreter per set of registered bridges, a parsed-program cache keyed by source hash, a deadline and a cancellation that kill a runaway, and a bounded transcript of what a run printed. The application keeps its bridges and its own message channel.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

tom_basics, tom_d4rt

More

Packages that depend on tom_d4rt_host