Leonardo de Moura
fda2cd23ec
chore(shell/lean): use find_lean_file in Lean
2019-07-27 18:38:27 -07:00
Leonardo de Moura
fe45476d91
chore(stage0): update
2019-07-27 18:23:53 -07:00
Leonardo de Moura
a336176017
feat(runtime/io): improve "file not found" error message
2019-07-27 09:45:38 -07:00
Leonardo de Moura
761149e029
chore(stage0): update
2019-07-26 17:59:22 -07:00
Leonardo de Moura
8a27a5e164
chore(stage0): update
2019-07-26 17:43:59 -07:00
Leonardo de Moura
dea1e52c96
feat(shell/lean): initialize searchPath implemented in Lean
2019-07-26 16:15:38 -07:00
Leonardo de Moura
e9fafd3c4b
chore(library/init/lean/path,stage0): export initSearchPath and update
2019-07-26 16:06:19 -07:00
Sebastian Ullrich
7b18bc94fd
fix(library/module): make sure header length preserves alignment
2019-07-26 12:39:35 -07:00
Sebastian Ullrich
d45cc4cb7b
fix(kernel): manually align unboxed fields
2019-07-26 12:39:35 -07:00
Sebastian Ullrich
8fb004f917
fix(runtime/alloc): fix out-of-bounds pointer reported by ubsan
2019-07-26 12:39:35 -07:00
Sebastian Ullrich
aa30a8f273
fix(frontends/lean/elaborator): remove dubious error reporting code that makes Lean compiled with clang 8 segfault
2019-07-26 12:39:35 -07:00
Leonardo de Moura
a16df483fa
fix(runtime/io): compilation error on windows
2019-07-26 10:09:55 -07:00
Leonardo de Moura
70b5e33766
chore(CMakeLists.txt): add link to cmake documentation
2019-07-26 08:10:46 -07:00
Sebastian Ullrich
e129a65948
fix(shell/CMakeLists): mark libleanstatic.a and libleanstdlib.a as cyclically dependent
2019-07-26 14:38:28 +02:00
Leonardo de Moura
798bbc0662
feat(library/init/system/io): new primitives
2019-07-25 18:12:44 -07:00
Sebastian Ullrich
53a26b94ff
chore(util/lean_path): remove leanpkg.path support
...
Because Lean 4 will not compile dependencies by itself, there is not much of a
point in it resolving them by itself either. The build tool that ensures that
all dependencies have been built should call `lean` with the `LEAN_PATH`
environment variable set accordingly.
2019-07-25 17:46:40 -07:00
Leonardo de Moura
804c856282
chore(stage0): update
2019-07-25 17:39:40 -07:00
Leonardo de Moura
92a8b7028e
chore(stage0): update
2019-07-25 17:30:47 -07:00
Leonardo de Moura
f6d3fc881d
feat(library/init): add platform.cpp
2019-07-25 17:19:50 -07:00
Leonardo de Moura
02f516f09d
feat(runtime/io): add primitives
2019-07-25 09:36:37 -07:00
Leonardo de Moura
77a59f4998
feat(library/init/io): add IO.getEnv
2019-07-25 08:31:23 -07:00
Leonardo de Moura
4f3b2eff0c
chore(stage0): update
2019-07-24 13:31:23 -07:00
Leonardo de Moura
cf8daf4b24
feat(library/init/lean/elaborator): process header
...
TODO:
- improve/fix `setSearchPath`
- add `IO.getEnv`
- add support for relative imports at `absolutizeModuleName`
2019-07-24 07:37:33 -07:00
Leonardo de Moura
a7f18cff12
chore(stage0): update
2019-07-22 18:53:49 -07:00
Leonardo de Moura
2ad33a23db
chore(runtime,library/init/lean): remove evalConst
2019-07-19 11:04:57 -07:00
Leonardo de Moura
b2d678f4ca
chore(stage0): update
2019-07-19 10:57:33 -07:00
Leonardo de Moura
b634fc30ee
chore(library/init/lean/elaborator/command): add command.lean
2019-07-19 10:54:39 -07:00
Leonardo de Moura
79545f55c0
feat(library/init/io): add IO.readTextFile
2019-07-18 17:31:31 -07:00
Leonardo de Moura
119a890d79
chore(stage0): update
2019-07-18 13:23:22 -07:00
Leonardo de Moura
09c51622a7
chore(stage0): update
2019-07-17 19:09:16 -07:00
Leonardo de Moura
2f7220402d
chore(stage0): update
2019-07-17 19:09:16 -07:00
Leonardo de Moura
eebb8e2e27
feat(library/init/lean/elaborator): add Elab monad
2019-07-17 19:09:16 -07:00
Leonardo de Moura
12ba2d353e
fix(stage0): missing file
2019-07-17 19:09:16 -07:00
Leonardo de Moura
f0899b381d
feat(library/init/lean/parser/module): add displayStx param
2019-07-17 19:09:15 -07:00
Leonardo de Moura
18d47a2b74
chore(frontends/lean): remove allow_field_notation = false setting
...
This setting was used for the explicit notation `@`.
We should not need it.
2019-07-17 19:09:15 -07:00
Leonardo de Moura
d03e00de99
chore(frontends/lean/builtin_exprs): remove obsolete notation from old parser
2019-07-17 19:09:15 -07:00
Leonardo de Moura
a3c0e2bb36
chore(frontends/lean/builtin_exprs): ensure old let notation is not accepted
2019-07-17 08:26:42 -07:00
Leonardo de Moura
0c4708ad28
chore(stage0): update
2019-07-16 09:07:39 -07:00
Leonardo de Moura
b2e1ff8b3e
feat(library/init): use new "empty match" syntax
2019-07-15 16:25:14 -07:00
Leonardo de Moura
7d062dd961
feat(frontends/lean): add new "empty/no match" syntax to old parser
2019-07-15 16:18:44 -07:00
Leonardo de Moura
12346d344a
feat(shell/lean): invoke new parser when --new-frontend is used
2019-07-15 13:57:05 -07:00
Leonardo de Moura
367f28e90b
chore(library/init/lean/parser/module): export test function
2019-07-15 13:39:56 -07:00
Leonardo de Moura
4c3ea024bc
chore(stage0): update
2019-07-15 09:46:39 -07:00
Leonardo de Moura
1b8c2200d5
chore(stage0): update
2019-07-11 16:45:09 -07:00
Leonardo de Moura
57e2f1be2a
feat(library/init/lean/parser/term): builtin operators
2019-07-11 10:13:00 -07:00
Leonardo de Moura
c9cd693b8e
feat(runtime/object): avoid recursion at mark_mt and mark_persistent
...
Reason: potential stack overflows
2019-07-10 11:27:49 -07:00
Leonardo de Moura
a85a98f1ec
chore(stage0): update
2019-07-10 11:19:40 -07:00
Leonardo de Moura
022d22cac4
feat(library/compiler/extract_closed): fine grain extraction
...
Motivation: increase reuse
2019-07-10 11:14:20 -07:00
Leonardo de Moura
efa48d6762
chore(stage0): update
2019-07-10 11:11:53 -07:00
Leonardo de Moura
17cc34def5
feat(library/compiler/compiler): add option compiler.extract_closed
...
It is useful when using `unsafeIO`
2019-07-10 11:08:34 -07:00