0 branches
Tree
Top files
Clone with HTTPS:
errors
v2: lots of arm64 fixes: v2 compiled with arm64 can now compile hello world!; v2.eval; v2.cleanc fixes to compile viper engine
last Mar 10
2.23 KB
eval
v/v2: support array update/spread syntax `[...base, e1, e2]` (#22834) (#27261)
last May 25
167.58 KB
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)buildsast.FlatAstwith contiguousnodesandedges.ast.legacy_ast_stats(files)estimates memory/shape metrics for recursive AST files.flat.stats()andflat.count_reachable_nodes()report flat graph size and reachability.flat.to_files()remains available for focused flat-reader roundtrip tests.