tom_d4rt 1.10.1 copy "tom_d4rt: ^1.10.1" to clipboard
tom_d4rt: ^1.10.1 copied to clipboard

D4rt - A Dart interpreter and runtime with bridging, security sandboxing, and dynamic code execution. Fork of D4rt with extended features.

example/README.md

tom_d4rt examples #

Attribution. The tom_d4rt project is an extended clone of the original d4rt project by Moustapha Kodjo Amadou, initially published in 2025. The complete interpreter is based on his idea.

tom_d4rt is the analyzer-based reference interpreter, and this example/ tree is the canonical home (P2) for raw-source interpreter and bridging samples — the language-level and native-interop demos that don't need a Flutter or shell runtime.

Local samples (canonical for this domain) #

Sample Demonstrates
user_guide/ Step-by-step interpreter usage — execute, eval, environments, value round-tripping
bridging_guide/ Exposing native Dart classes/enums to interpreted code via BridgedClass
advanced_bridging/ Advanced bridge patterns — generics, callbacks, operators, static members
dart_overview/ Broad Dart language-feature coverage exercised by the interpreter
d4rt_example.dart, example2.dart Minimal single-file entry points

Run the full set with dart run example/run_all_examples.dart.

The analyzer-free CLI sibling tom_d4rt_exec runs these same interpreter samples — they differ only by the package import line (package:tom_d4rt/d4rt.dartpackage:tom_d4rt_exec/d4rt.dart).

Flutter & shell samples → the other canonical homes (P2) #

Canonical home Runtime What it demonstrates
tom_d4rt_flutter_test Source-based Flutter (analyzer) 37 multi-file D4rt Flutter Material sample apps, rendered live
tom_d4rt_flutter_ast_test Analyzer-free Flutter (AST bundles) 33 of those samples as pre-compiled AstBundle JSON
tom_d4rt_dcli DCli shell scripting File / directory / process / env / colour snippets + multi-file CLI apps
0
likes
140
points
482
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

D4rt - A Dart interpreter and runtime with bridging, security sandboxing, and dynamic code execution. Fork of D4rt with extended features.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, pub_semver

More

Packages that depend on tom_d4rt