Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
## Description
`v2` is a namespace containing a new version of the compiler (still in development).
## Flat AST
`v2.ast` is the default index-based AST graph used by the v2 builder for
parsing, type checking, markused, and native SSA input:
- `ast.flatten_files(files)` builds `ast.FlatAst` with contiguous `nodes` and `edges`.
- `ast.legacy_ast_stats(files)` estimates memory/shape metrics for recursive AST files.
- `flat.stats()` and `flat.count_reachable_nodes()` report flat graph size and reachability.
- `flat.to_files()` remains available for focused flat-reader roundtrip tests.