Developer Tools
vmigrate
Finds older complex number code that can move to the native kind.
Released v1.0.0 · 2026-09-28use "stdlib/migrate.ven"
Migration tooling in pure Venutian for patterns that are superseded but still supported, such as complex numbers held as (real, imag) pairs. It checks whether a program still uses the older pattern and helps move it to the current one.
print scan_cmath_usage("z = cmath_add(a, b)\nw = cmath_sqrt(z)")
Reference (2 functions)
API reference
scan_cmath_usage(source)
Finds every cmath_*( call site in source and reports its native-Complex suggestion.
scan_cmath_usage("z = cmath_add(a, b)\nw = cmath_sqrt(z)")migration_report(source)
Builds a human-readable advisory report of every cmath_* call site in source.
migration_report("z = cmath_add(a, b)")