Commit graph

561 commits

Author SHA1 Message Date
Sebastian Ullrich
571fc66864 doc: ffi: move into dev/ 2021-10-29 08:46:31 -07:00
Sebastian Ullrich
81dca2ceb8 doc: ffi: address review 2021-10-29 08:46:31 -07:00
Sebastian Ullrich
627900ba9f doc: FFI 2021-10-29 08:46:31 -07:00
Sebastian Ullrich
40cf61f67b doc: very important clarification 2021-10-29 07:52:48 -07:00
Sebastian Ullrich
436b31b83c doc: quickstart: updated Windows instructions 2021-10-22 09:57:07 +02:00
Sebastian Ullrich
51a41705cb feat: allow more atoms starting with "`" 2021-10-19 14:10:31 +02:00
Sebastian Ullrich
7a91c494b9 chore: submodule hints 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
74b813fbcd doc: restructure make/index.md
debug builds are not very interesting currently given the state of
debugging Lean code
2021-10-15 06:56:02 -07:00
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
Chris Lovett
2860ba96f5
doc: fix some syntax and link in the docs, and more 2021-10-10 11:36:43 +02:00
Sebastian Ullrich
db755b6081 doc: temp fix
/cc @leodemoura
2021-10-07 12:59:14 +02:00
Sebastian Ullrich
762304f8b7 doc: fix 2021-10-03 21:19:45 +02:00
Siddharth
4b1b76ae51 doc: add metaprogramming docs of Dyck grammar parsing.
* LEAN4 -> Lean 4; directive -> command

* directive -> command everywhere
2021-10-02 11:08:26 -07:00
Sebastian Ullrich
ee73ad9f23 chore: update mdBook fork 2021-09-30 13:02:39 +02:00
Chris Lovett
2ca4188fc3 doc: somehow wsl2.md was created so the page on https://leanprover.github.io/lean4/doc/make/wsl2.html is empty. This fixes that. 2021-09-23 23:26:35 +02:00
Chris Lovett
3a20b6be8a
doc: add wsl setup docs and reorganize a new "dev" folder 2021-09-23 09:21:39 +02:00
Chris Lovett
ad7c5b26a7
fix: UTF-8 file path support for lean on Windows
* fix msys2 windows build so the windows apps support utf-8 file paths.

* use windres to compile default-manifest.o

* windres is in binutils.

* stop modifying default-manifest.o

* copy to stage0

* fix semicolon joining of lists in add_custom_target

* undo changes to stage0 as per CR feedback.

* fix makefile

* fix: revert cmakelists.txt COMMAND_EXPAND_LISTS  change

* fix: msys2 dependencies

* add unit test for decoding UTF-8 chars to prove "lean.exe" can read utf-8 encoded files where utf-8 is also used in the file name.

* fix: utf-8 test by using windows-2022

* fix: do we really need cmake 3.11 or will 3.10 do?

* nope, really does require cmake 11.
2021-09-22 12:21:52 +02:00
Leonardo de Moura
fe66523e43 chore: fix doc 2021-09-16 10:32:00 -07:00
Chris Lovett
1591bb1640 doc: fix msys text based on code review feedback 2021-09-10 10:07:57 +02:00
Chris Lovett
bc3900cbb9 doc: small fixes 2021-09-07 19:19:58 -07:00
Leonardo de Moura
65509c5617 doc: add basic perf documentation 2021-09-06 07:12:36 -07:00
Leonardo de Moura
acfa2d7e78 doc: start porting reference manual 2021-08-27 19:30:08 -07:00
Sebastian Ullrich
5f4b1b1d44 Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it""
This reverts commit ccbc9d00db.
2021-08-20 09:42:05 -07:00
Sebastian Ullrich
ccbc9d00db Revert "feat: reintroduce libleanshared, link lean & leanpkg against it" 2021-08-20 15:39:00 +02:00
Sebastian Ullrich
440abd4bd1 chore: CI: switch to GCC on Windows for now
See discussion at https://github.com/leanprover/lean4/pull/555
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
917eb4d081 chore: collect stdlib compilation flags in new header 2021-08-12 07:51:50 -07:00
Sebastian Ullrich
7e78de978d doc: further bootstrapping complications 2021-08-12 07:51:50 -07:00
Sebastian Ullrich
119f685cda
doc: fix link 2021-08-08 18:39:28 +02:00
Sebastian Ullrich
40274e487f chore: fix docs 2021-08-08 13:26:46 +02:00
Sebastian Ullrich
341b4ac652 doc: link to some macro documentation 2021-08-08 12:41:59 +02:00
Sebastian Ullrich
2c3067e91b doc: bundle updated lean4.py Pygments file and lstlean.tex 2021-07-12 11:33:13 -07:00
WojciechKarpiel
deb9c9410d doc: fix typo in the manual
Fix for a simple typo (`it behave` -> `it behaves`, `continue` -> `break`)
2021-07-10 10:35:51 +02:00
Hunter Monroe
67bffa7de0
doc: correct typo “command instruct” ->”command instructs” 2021-07-03 11:22:04 +02:00
Leonardo de Moura
d55c069172 fix: docs 2021-06-29 22:14:16 -07:00
Sebastian Ullrich
10cf219213 doc: clarify RFC issues 2021-06-04 14:12:59 +02:00
Sebastian Ullrich
7839f2c99b doc: direct link & instructions for elan on Windows 2021-06-01 16:38:03 +02:00
Sebastian Ullrich
812c8d0d6e doc: clarify Windows limitations 2021-06-01 16:12:16 +02:00
Sebastian Ullrich
a02c6fd3eb chore: adapt stdlib & tests 2021-05-20 15:17:36 -07:00
Sebastian Ullrich
a94e48cec7
doc: less Emacs-centric 2021-05-18 21:08:53 +02:00
Xavier Noria
d35f46d4ba
doc: fix spelling of GitHub in the FAQ (#454) 2021-05-11 09:15:07 +02:00
Бакиновский Максим
c96cb78970 doc: "enumerated types" section markdown fix 2021-05-06 17:04:51 +02:00
Kevin Buzzard
ee6a9e74e8
doc: fix typos (#379) 2021-04-30 19:36:30 +02:00
Sebastian Ullrich
9f0fa19237 feat: notation: unfold to prechecked quotation 2021-04-27 16:38:37 -07:00
Sebastian Ullrich
bf5b403bea doc: update dbg_trace docs 2021-04-23 15:48:43 +02:00
Leonardo de Moura
762cebbbfc fix: match generalization bug 2021-04-19 18:37:25 -07:00
Sebastian Ullrich
52a4f535d8 doc: fix example 2021-04-17 18:48:58 +02:00
Sebastian Ullrich
8175003707 doc: update links to elan 2021-04-17 16:33:23 +02:00
Sebastian Ullrich
91169f9987
doc: quickstart: formatting, again 2021-04-15 19:08:56 +02:00
Paul Brinkmeier
c1623add68
doc: add note about staging flake.nix (#411)
If you don't make flake.nix visible to Git, nix build etc. won't work. Add a command that adds the file to the Index and a note explaining why.
2021-04-15 18:45:22 +02:00
Leonardo de Moura
0a1923b820 chore: update faq with "help wanted" link 2021-04-14 07:30:09 -07:00