leanprover-community / lean4-metaprogramming-book

https://leanprover-community.github.io/lean4-metaprogramming-book/
Apache License 2.0
204 stars 47 forks source link
lean4

A Lean 4 Metaprogramming Book

Authors: Arthur Paulino, Damiano Testa, Edward Ayers, Evgenia Karunus, Henrik Böving, Jannis Limperg, Siddhartha Gadgil, Siddharth Bhat

Contributing

The markdown files are generated automatically via mdgen. Thus, if you're going to write or fix content for the book, please do so in the original Lean files inside the lean directory.

Important: since mdgen is so simple, please avoid using comment sections in Lean code blocks with /- ... -/. If you want to insert commentaries, do so with double dashes --.

Building the markdown files

This is not required, but if you want to build the markdown files, you can do so by running lake run build.