Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Siddharth 66fcfcce37
doc: tutorial on parsing the arithmetic grammar using macros
* add arith

* Fixup based on Sebastian's feedback

* style nits

* add explanation about parsing precedence

* add Sebastian's suggest test case

Add the test case into the example to make sure we parse a*b+c as well
as a+b*c correctly.

* grammar pass

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>

* use pretty arrows, 2 spaces, [Arith| ... ]

* typo: :+ and :* had sneaked back in

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>

* Update doc/tutorial/metaprogramming-arith.md

Co-authored-by: Gabriel Ebner <gebner@gebner.org>

* move all #print to #check

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2021-10-12 08:51:17 +02:00
.github chore: CI: check first commit message of opened PR 2021-10-06 17:30:38 +02:00
.vscode doc: fix some syntax and link in the docs, and more 2021-10-10 11:36:43 +02:00
doc doc: tutorial on parsing the arithmetic grammar using macros 2021-10-12 08:51:17 +02:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
lean4-mode chore: lean4-mode: support native elisp compilation 2021-09-21 16:23:52 +02:00
nix refactor: use JSON to communicate between server & package manager 2021-10-08 11:28:04 +02:00
script fix: update-stage0 2021-10-07 12:55:55 +02:00
src feat: add range parameter to getInteractiveDiagnostics 2021-10-11 22:59:47 +02:00
stage0 fix: macOS Nix build 2021-10-08 21:46:50 +02:00
tests fix: quoteString at EmitC.lean 2021-10-11 06:16:56 -07:00
tmp chore: remove tactic framework dependency 2020-11-10 14:32:58 -08:00
.gitattributes chore: restore marking stage0/ as binary files, which we lost at some point 2020-08-14 11:12:13 +02:00
.gitignore fix: UTF-8 file path support for lean on Windows 2021-09-22 12:21:52 +02:00
CMakeLists.txt Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
CONTRIBUTING.md doc: more changes 2021-05-13 16:11:57 -07:00
default.nix doc: setup 2021-01-03 13:21:58 +01:00
flake.lock chore: update to LLVM 13 2021-10-06 14:34:29 +02:00
flake.nix fix: sanitized build 2021-09-08 17:24:31 +02:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore: add link to "Theorem Proving in Lean 4" tutorial 2021-09-01 10:44:43 -07:00
shell.nix Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00

This is the repository for Lean 4, which is currently being released as milestone releases towards a first stable release. Lean 3 is still the latest stable release.

About

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.