tom_ast_generator examples → see the canonical sample homes
> 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_ast_generator is the 1:1 analyzer-AST → mirror-AST converter plus bundling machinery. The contents of this
example/ tree (dart_overview/, d4/, example_project/,
user_reference/, userbridge_*, generate_example_bridges.dart,
run_all_examples.dart, test_example_bridges.dart, d4_test_scripts/) are
generator test fixtures wired into the test harnesses — inputs that exercise the converter,
not user-facing samples.
For curated, runnable D4rt samples, see the three canonical sample 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 |
Raw-source interpreter and bridging samples live in tom_d4rt/example.