Commit graph

293 commits

Author SHA1 Message Date
Sebastian Ullrich
1f9554a014 refactor(frontends/lean/info_manager): always pass column in requests 2016-11-08 08:37:41 -08:00
Sebastian Ullrich
ba1b6165e3 feat(frontends, shell): implement basic server 'info' command 2016-11-08 08:37:41 -08:00
Sebastian Ullrich
388b337f50 chore(frontends/lean/info_manager): make copyable and integrate into snapshots 2016-11-08 08:37:41 -08:00
Sebastian Ullrich
67017cecef chore(shell): add back info_manager from master and make it compile 2016-11-08 08:37:41 -08:00
Leonardo de Moura
9465f25f09 feat(library/vm): profiler for VM bytecode 2016-11-03 21:15:29 -07:00
Gabriel Ebner
e18370585d fix(frontends/lean/server): fix relative dependency lookups 2016-10-30 08:42:05 +08:00
Gabriel Ebner
e6f75f2e0f feat(shell/server,emacs/lean-mode): show-goal-at-pos 2016-10-21 15:42:29 -07:00
Gabriel Ebner
47e6fd091f refactor(frontends/lean): implement show goal function using exceptions 2016-10-21 15:42:29 -07:00
Sebastian Ullrich
f10d5e4d8c fix(library/vm/vm_io): disable get_line in server mode 2016-10-19 10:02:58 -07:00
Sebastian Ullrich
ce28e1aedb fix(shell/server): let completion fall back to first (imports) snapshot 2016-10-16 22:13:44 -07:00
Gabriel Ebner
888609013f feat(tests): run tests in emscripten build 2016-10-16 14:41:35 -07:00
Gabriel Ebner
db766b2f5a chore(shell/lean): fix coding style 2016-10-16 14:41:35 -07:00
Gabriel Ebner
6d7cf7bace fix(tests/shell): fix build 2016-10-16 14:41:35 -07:00
Gabriel Ebner
ec0aa6d248 refactor(*): integrate emscripten build 2016-10-16 14:41:35 -07:00
Leonardo de Moura
6126969879 fix(shell/server): missing include for std::setlocale 2016-10-15 17:14:34 -07:00
Sebastian Ullrich
87ec1e0ac5 fix(shell/server): last snapshot may not be valid any more 2016-10-15 13:42:40 -07:00
Leonardo de Moura
6c3d55ff7f chore(util/json): workaround for mingw 2016-10-14 17:24:47 -07:00
Leonardo de Moura
541e9010e1 fix(shell/lean): disable initialize/finalize server when -DSERVER=OFF is used 2016-10-14 12:56:50 -07:00
Leonardo de Moura
39dba8f5e5 chore(shell/server): make sure "make style" works 2016-10-14 11:58:10 -07:00
Sebastian Ullrich
8f71f4c82d fix(emacs): void-function in lean-debug-mode 2016-10-14 11:53:00 -07:00
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