Phase 1 implementation: C shim wrapping libclang's cursor-based AST API, Lean 4 opaque types and extern declarations, and a Nix flake for hermetic builds. Each Cursor holds a refcounted reference to its TranslationUnit to prevent use-after-free from Lean's GC. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
123 B
JSON
6 lines
123 B
JSON
{"version": "1.1.0",
|
|
"packagesDir": ".lake/packages",
|
|
"packages": [],
|
|
"name": "«lean-libclang»",
|
|
"lakeDir": ".lake"}
|