Skip to content

UlfNorell/quasi-quote

Repository files navigation

quasi-quote

A quasi-quoting library for Agda, supporting automatic de Bruijn management. Very much work-in-progress. Requires the experimental branch of the standard library at commit bee4f912f or later.

Example

test₁ : Term  Term
test₁ t = `(λ n  n + ! t)
 -- quote ^    splice ^

check₁ : test₁ (var 0 []) ≡ lam visible (abs "n" (def₂ (quote _+_) (var 0 []) (var 1 [])))
check₁ = refl                                          -- Lifted automatically ^^^^^^^^

About

Quasi-quoting library for agda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages