tom_ast_model 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_model is a zero-dependency AST data model — a serializable mirror of the Dart analyzer's node hierarchy. It is infrastructure consumed by the interpreter and generator, not a runtime you write programs against, so it ships no sample programs of its own.

Runnable D4rt samples live in the three canonical sample homes (P2):

Canonical homeRuntimeWhat 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

For the model's own API surface (constructing, serializing, and diffing SAstNode trees), see this package's README.md and test/.