Leonardo de Moura
d953ac8d0d
feat: allow users to use initialize registerBuiltinDerivingHandler ...
2022-01-11 09:50:09 -08:00
Sebastian Ullrich
c6c56b15e1
feat: findSysroot? & reworked initSearchPath
2021-11-20 11:04:39 +01:00
Leonardo de Moura
f01a124f18
fix: builtin attribute initialization
...
The failure was triggered if a module declared (only) builtin
attributes that do not have any persistent extension associated with
them.
Fixes #726
2021-10-20 13:55:54 -07:00
Leonardo de Moura
a29e81b0b6
test: add registerTraceClass test
2021-09-16 06:52:58 -07: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
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
27d52a352f
fix: leanpkg: actually detect import cycles
2021-06-12 10:09:55 +02:00
Sebastian Ullrich
6857076df4
feat: leanpkg build without external dependencies
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
e5c485ff45
feat: incremental progress notification while compiling dependencies
2021-01-19 19:06:01 +01:00
Sebastian Ullrich
c63e85a0f1
test: playground for print-path
2021-01-19 19:06:01 +01:00
Sebastian Ullrich
9e237f8a12
feat: basic port of leanpkg
2020-12-29 14:42:48 -08:00