Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -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.
|
||||
Reference in new issue
Block a user