argumentcomputer / yatima

A zero-knowledge Lean4 compiler and kernel
MIT License
121 stars 9 forks source link

Align the `TranspileM` codebase with `CompileM` #155

Closed winston-h-zhang closed 2 years ago

winston-h-zhang commented 2 years ago

Closes #154. Also adds a custom error type, following the structure of the compiler and typechecker.

Some functions were refactored to return Lurk.Expr instead of Option.

mpenciak commented 2 years ago

Looks good to me!