tom_ast_generator 0.1.5 copy "tom_ast_generator: ^0.1.5" to clipboard
tom_ast_generator: ^0.1.5 copied to clipboard

AST converter from Dart analyzer AST to serializable AST model.

example/README.md

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.

0
likes
150
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AST converter from Dart analyzer AST to serializable AST model.

Homepage
Repository (GitHub)
View/report issues

Topics

#ast #analyzer #interpreter #d4rt

License

BSD-3-Clause (license)

Dependencies

analyzer, args, glob, path, tom_ast_model, tom_build_base, tom_d4rt_ast, yaml

More

Packages that depend on tom_ast_generator