compiler library
Ball-to-Dart compiler.
Translates a ball Program AST into valid Dart source code.
Uses code_builder for structural AST construction and DartFormatter
for output. Expression / statement bodies are compiled to strings and
wrapped in Code nodes; the formatter handles all indentation.
Classes
- DartCompiler
- Compiles a ball Program into formatted Dart source code.