arXiv · 2102.07888
Metatheory.jl: Fast and Elegant Algebraic Computation in Julia with Extensible Equality Saturation
Abstract
We introduce Metatheory.jl: a lightweight and performant general purpose symbolics and metaprogramming framework meant to simplify the act of writing complex Julia metaprograms and to significantly enhance Julia with a native term rewriting system, based on state-of-the-art equality saturation techniques, and a dynamic first class Abstract Syntax Tree (AST) pattern matching system that is dynamically composable in an algebraic fashion, taking full advantage of the language's powerful reflection capabilities. Our contribution allows to perform general purpose symbolic mathematics, manipulation, optimization, synthesis or analysis of syntactically valid Julia expressions with a clean and concise programming interface, both during compilation or execution of programs.
Explore related subjects
Keep this discovery
Alessandro Cheli. 2021-02-15. Metatheory.jl: Fast and Elegant Algebraic Computation in Julia with Extensible Equality Saturation. https://doi.org/10.21105/joss.03078
Cite the original work for its findings. Save a collection to share your selection of sources.