AlgebraicJulia / GATlab.jl

GATlab: a computer algebra system based on generalized algebraic theories (GATs)
https://algebraicjulia.github.io/GATlab.jl/
MIT License
23 stars 2 forks source link

Update `@context` and `@term` macros to run at macroexpand time #69

Closed olynch closed 1 year ago

olynch commented 1 year ago

Now that we have theories at macroexpand time with #67, we should update the @context and @term macros to run at macroexpand time, rather than at runtime.

olynch commented 1 year ago

It's actually a feature that they run at runtime, because they might take in dynamic data.