refactor(library/init/lean/parser/module): replace coroutines with explicit snapshot state
3 files changed