With LUDIC_DEPS=<file> the compiler records every reference the visibility pass resolves (from module, to module) and every assignment to another module's global. ludic deps prints the modules, dependencies, largest cycle, cross writes and globals written from outside, with --graph, --dot, --writes, --uses MOD, --check FILE and --baseline FILE. Reseed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
150 B
Text
6 lines
150 B
Text
# b/index.ludic - uses a back: a and b are a cycle
|
|
module b
|
|
export var b_count: int = 0
|
|
export function b_run() -> int {
|
|
return a_two() + c_one()
|
|
}
|