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
f33cdf6bf9
fix: linking against dl
2021-08-19 19:44:28 +02:00
Sebastian Ullrich
09a0347fdc
chore: fix compilation of executables containing code to be interpreted
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
1ed329b305
test: try reenabling plugin test on Windows
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6827928594
chore: cpack: copy required libraries via ldd/otool
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
68ecda843b
chore: remove STATIC cmake flag
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
617f17facb
feat: reintroduce libleanshared, link lean & leanpkg against it
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
fc707f3343
test: fix test on Windows
2021-08-17 12:50:58 +02:00
Leonardo de Moura
d775dc6195
feat: add flag for controlling the execution of initialize commands when importing modules programmatically
...
Fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Environment.20extensions.20in.20importModules
2021-08-16 17:43:28 -07:00
Leonardo de Moura
81ff285427
chore: use leanmake instead of leanpkg
2021-08-16 08:52:27 -07:00
Sebastian Ullrich
917eb4d081
chore: collect stdlib compilation flags in new header
2021-08-12 07:51:50 -07:00
Sebastian Ullrich
0aaab9e024
chore: remove file_lock.h
2021-08-04 16:40:57 +02:00
Leonardo de Moura
01d902f905
feat: add register_option command
...
User-defined options.
2021-08-03 14:31:04 -07:00
Leonardo de Moura
d864afae91
feat: private fields
...
closes #418
2021-08-02 20:20:21 -07:00
Leonardo de Moura
a77598f7cf
feat: user-defined attributes
...
See new test for an example.
closes #513
2021-07-26 18:24:10 -07:00
Leonardo de Moura
cdd1dbbb36
feat: user-defined environment extensions
...
New test demonstrates how to use them.
The user-defined extensions cannot be used in the same file where they
were declared because the `initialize` commands are only executed when
we import the modules containing them.
TODO: user-defined attributes.
2021-07-26 16:18:48 -07:00
Sebastian Ullrich
a006558bb3
chore: search for llvm-config in PATH instead of LLVM_TOOLS_BINARY_DIR
...
...because it is not there with Nix
2021-07-09 11:00:58 +02:00
Sebastian Ullrich
5c07c188b4
feat: generate LLVM module of runtime
2021-07-09 11:00:58 +02:00
Sebastian Ullrich
b3535e4e3e
fix: LLVM setup
2021-06-18 12:24:43 +02:00
Wojciech Nawrocki
e6b2818169
chore: fixes
2021-06-15 22:53:19 +02:00
Wojciech Nawrocki
12a4ef54a9
chore: document io_mark_end_initialization setup
2021-06-13 17:32:35 -07:00
Wojciech Nawrocki
bf41d40b1d
fix: allow plugins to run IO initializers
2021-06-13 17:32:35 -07:00
Sebastian Ullrich
27d52a352f
fix: leanpkg: actually detect import cycles
2021-06-12 10:09:55 +02:00
Sebastian Ullrich
4ed66cae3e
feat: add --print-prefix, --print-libdir flags
...
The names were taken from `llvm-config`
2021-06-11 17:53:51 -07:00
Wojciech Nawrocki
c772dc49ef
chore: use leanc for all C code
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
7ca87e50ce
chore: Emscripten getenv
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
485f8ea2d0
feat: setup Emscripten file paths
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
7e1faa0be1
chore: fix CMake dependencies
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
8ada0ba043
feat: initial Emscripten support
2021-06-06 15:34:44 +02:00
Sebastian Ullrich
744423f25a
fix: leanpkg: make flags; extend test
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
32fd82efc2
fix: link lean statically against GMP again
2021-04-14 20:37:07 +02:00
Sebastian Ullrich
ac9fee5854
test: add Lean 3-style interactive server tests
...
Fixes #376
2021-04-03 00:23:46 +02:00
Sebastian Ullrich
334320fd40
fix: lean --run
2021-04-03 00:23:46 +02:00
Sebastian Ullrich
6664f58a0e
chore: link lean using leanc
2021-03-06 10:17:50 +01:00
Leonardo de Moura
9234145955
chore: disable test on Windows
...
See comment
2021-02-28 11:11:53 -08:00
Christian Pehle
066baeccc0
fix: pass (some) cmdline arguments to watchdog and workers
...
Capture some of the command line arguments in an argument
vector, that then gets passed to the watchdog and
subsequently the worker processes. Currently flags like
"-T" and "-j2" are not passed on to the watchdog and
worker processes.
Addresses #246
2021-01-17 15:06:11 +01:00
Sebastian Ullrich
4950440014
fix: --run flag
2021-01-17 10:00:17 +01:00
Sebastian Ullrich
79abd5fec6
chore: remove C++ messages
2021-01-12 09:51:14 -08:00
Sebastian Ullrich
a6c319a25c
chore: remove message_builder from time_task
2021-01-12 09:51:14 -08:00
Sebastian Ullrich
b2e42a3ea6
chore: remove --json option
2021-01-12 09:51:14 -08:00
Sebastian Ullrich
9e237f8a12
feat: basic port of leanpkg
2020-12-29 14:42:48 -08:00
Wojciech Nawrocki
5426c44e49
feat: launch server from main Lean shell
2020-12-23 20:00:36 +01:00
Sebastian Ullrich
21f4257da5
feat: name resolution during parsing
2020-12-03 17:46:13 +01:00
Sebastian Ullrich
50abe8352b
feat: allow specifying file name with --stdin
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b1f49637c2
fix: re-enable --profile by passing the startup options via the global ios
...
@leodemoura We should probably reimplement `profileit` in pure Lean when we want to get rid of `io_state`
2020-10-27 18:51:35 +01:00
Leonardo de Moura
16710581ad
chore: remove dead code
2020-10-27 09:37:21 -07:00
Leonardo de Moura
bad6233389
chore: remove legacy support for modification objects
2020-10-26 08:10:51 -07:00
Leonardo de Moura
7a24fe73ca
chore: remove dead code
2020-10-25 20:49:30 -07:00
Leonardo de Moura
94bc5ed7a3
chore: remove old frontend, equation compiler and tactics from build
2020-10-25 10:20:30 -07:00