Commit graph

273 commits

Author SHA1 Message Date
Sebastian Ullrich
7e570d7777 feat(shell/server, emacs): bring back basic completion 2016-10-14 11:53:00 -07:00
Leonardo de Moura
2a5616d2b9 fix(shell/json): typos 2016-10-14 11:51:00 -07:00
Leonardo de Moura
936eb76466 feat(CMakeFiles): add -DSERVER=OFF cmake option
Motivation: we can disable lean-server and the json dependency when compiling lean.js.
2016-10-14 11:48:02 -07:00
Leonardo de Moura
0bb155a427 chore(*): remove .clean support
In Lean2, we used to cache elaborated definitions in .clean files. The
main goal was to optimize each flycheck invocation produced by Emacs.

The Lean3 definition package was not updating this cache. Moreover, it
is not necessary because the new compilation server subsumes it.
2016-10-13 19:58:58 -07:00
Leonardo de Moura
b9e62a982f chore(shell/server): fix 'make style' 2016-10-13 19:35:50 -07:00
Leonardo de Moura
3162bac4e7 feat(shell/lean): disable assertion violation dialog in server mode 2016-10-13 18:56:10 -07:00
Gabriel Ebner
b24291fc99 fix(shell/server): remove static integer underflow 2016-10-13 18:49:10 -07:00
Gabriel Ebner
a4d8ae2e30 fix(frontends/lean/parser): fix snapshots in prelude files 2016-10-13 18:49:10 -07:00
Gabriel Ebner
ba74530cc0 chore(*): remove legacy flycheck support 2016-10-13 18:49:10 -07:00
Gabriel Ebner
6da53bf87e fix(shell/emscripten): reenable flycheck output 2016-10-13 18:49:10 -07:00
Gabriel Ebner
559b96ab3e feat(shell/server): parse file again if imports have changed 2016-10-13 18:49:10 -07:00
Gabriel Ebner
46eefdac89 feat(emacs/lean-server): support files in projects 2016-10-13 18:49:10 -07:00
Gabriel Ebner
9c520e3096 feat(shell/server): use parser snapshots 2016-10-13 18:49:10 -07:00
Gabriel Ebner
d78a2171ec feat(shell/server): first version of the compile server API 2016-10-13 18:49:10 -07:00
Gabriel Ebner
bd09d8febe feat(shell/json): json-formatted error messages 2016-10-13 18:49:10 -07:00
Gabriel Ebner
66be9c31db refactor(library/flycheck): use flycheck_message_stream instead of option 2016-10-13 18:49:10 -07:00
Gabriel Ebner
5acb722d46 refactor(library/flycheck,library/trace): convert trace output to messages independently of flycheck 2016-10-13 18:49:10 -07:00
Gabriel Ebner
b05b514cc2 refactor(*): structured message objects 2016-10-13 18:49:10 -07:00
Leonardo de Moura
9ef3ebbd5b refactor(*): delete HoTT support 2016-09-27 16:33:39 -07:00
Leonardo de Moura
6d9a9b46f3 chore(frontends/lean): cleanup 2016-09-23 16:26:21 -07:00
Leonardo de Moura
b2e1e920a9 chore(frontends/lean,library,linja): remove .ilean files 2016-09-20 08:43:45 -07:00
Leonardo de Moura
a1d36b6c4d chore(library): remove legacy_type_context 2016-09-19 21:31:21 -07:00
Leonardo de Moura
2a069a4d2a chore(frontends/lean): remove server and info_manager 2016-09-19 18:44:03 -07:00
Leonardo de Moura
2969d8a8c6 chore(shell/CMakeLists): remove old tests 2016-09-19 18:44:03 -07:00
Leonardo de Moura
24f1cb2726 chore(frontends/lean): new_elaborator is now the default 2016-09-19 16:34:06 -07:00
Leonardo de Moura
29b35ef12d chore(tests/lean/hott): delete old HoTT tests 2016-09-17 12:26:11 -07:00
Leonardo de Moura
803c956d18 feat(util/sexpr/option_declarations): allow options to be registered after initialization 2016-08-19 16:58:30 -07:00
Daniel Selsam
4f8db64e23 refactor(simplifier): many fixes, extensions, and tests
fix(simplifier): missing simp rule in prop simplifier
fix(library/unfold_macros): do not look for untrusted macros when using sufficient trust level
2016-08-19 14:57:03 -07:00
Leonardo de Moura
f3dbd0c69a chore(library): disable stdlib but init and systems folder 2016-08-11 18:42:10 -07:00
Leonardo de Moura
dc44edfd41 feat(frontends/lean): use new elaborator in the 'check' command 2016-08-02 14:57:49 -07:00
Daniel Selsam
79e5e80dae test(frontends/smt2): basic tests for parser and elaborator 2016-07-29 10:44:44 -07:00
Daniel Selsam
e946ebc8fc feat(frontends/smt2): new frontend for smt2 format 2016-07-29 10:44:43 -07:00
Leonardo de Moura
0ef4bea86b chore(tests/lean): disable tests 2016-06-10 18:29:41 -07:00
Leonardo de Moura
487a1e7f89 refactor(kernel): remove extension_context
We replaced it with abstract_type_context
2016-03-19 15:15:39 -07:00
Leonardo de Moura
eaac6ba721 chore(library/type_context): rename default_type_context to legacy_type_context and move it to different file 2016-03-04 10:26:50 -08:00
Leonardo de Moura
9d0dfb8404 refactor(frontends/lean): remove calc_proof_elaborator 2016-03-03 17:22:45 -08:00
Leonardo de Moura
4a43e33d45 chore(*): disable big chunk of the standard library and tests 2016-03-03 13:43:08 -08:00
Leonardo de Moura
f0158ba20c chore(CMakeLists): disable HoTT library and tests 2016-03-03 12:51:10 -08:00
Leonardo de Moura
7d61f640f6 refactor(*): add abstract_type_context class 2016-02-26 14:17:34 -08:00
Leonardo de Moura
f67181baf3 chore(*): remove support for Lua 2016-02-11 17:17:55 -08:00
Leonardo de Moura
b92416d66c refactor(library/error_handling): move error_handling to library main dir 2015-12-29 15:31:40 -08:00
Leonardo de Moura
edad31a9b1 feat(shell/lean): use locking also for the index file 2015-12-12 21:50:08 -08:00
Leonardo de Moura
4dc3764a02 feat(util,library,shell): basic locking mechanism
We still have to test on Windows.
see issue #925
2015-12-12 21:26:13 -08:00
Leonardo de Moura
7eb1525ba5 feat(shell/lean): add option '--debug=tag' for activating conditional assertions in the command line in debug mode 2015-12-06 15:47:26 -08:00
Leonardo de Moura
f78e57fd52 feat(shell,frontends/lean): add command line option --dir
See #821
See #788
2015-11-19 08:34:23 -08:00
Leonardo de Moura
6df31d3406 refactor(library/data/nat/basic): mark some theorems as protected to avoid overloading 2015-11-08 14:04:56 -08:00
Soonho Kong
a25b43f1e8 feat: do not generate leanstatic.a in EMSCRIPTEN build 2015-11-03 18:22:05 -05:00
Leonardo de Moura
2b52198702 fix(library/unfold_macros): fixes #806 2015-08-18 17:46:47 -07:00
Leonardo de Moura
498afc1e6f feat(CMakeLists): add shared library 2015-08-13 11:21:05 -07:00
Leonardo de Moura
cc4f18c062 feat(frontends/lean): add "--info" command line option for extracting identifier/keyword information
see issue #756
2015-07-30 10:18:03 -07:00