Leonardo de Moura
e59515df5f
chore(*): fix style
2016-12-05 16:39:58 -08:00
Jared Roesch
e65d90ac79
feat(*): C++ code generator
...
in progress move of Lean.native to init
2016-12-05 16:11:41 -08:00
Gabriel Ebner
d5372e770f
fix(shell/lean): wait for all tasks to finish
2016-12-05 13:26:00 -08:00
Gabriel Ebner
e07cdcb063
fix(shell/lean): nicer error message for file not found
2016-12-05 13:26:00 -08:00
Gabriel Ebner
6bfbb79d6e
fix(shell/lean): add missing colon to 'A' option
2016-12-05 13:26:00 -08:00
Leonardo de Moura
a9d3f36f76
feat(util/thread,library/mt_task_queue): add lthread
2016-12-03 11:29:22 -08:00
Gabriel Ebner
26f0325e9b
fix(shell/server): do not fail if module parsing throws an exception
2016-12-02 08:47:46 -08:00
Leonardo de Moura
79d87138f0
feat(util/memory): simplify memory tracking code
2016-12-01 16:07:46 -08:00
Gabriel Ebner
ae21a6cae8
feat(shell/lean): support stdin redirection in server mode
...
This is useful if you're debugging lean-server in an IDE which cannot
redirect stdin, and also if you want to run `gdb --args lean
--server=some.file`.
2016-12-01 10:02:14 -08:00
Gabriel Ebner
000d97a9a6
fix(frontends/lean/parser): wrap snapshot in shared_ptr
2016-11-30 11:27:02 -05:00
Gabriel Ebner
c3f72ec0d8
fix(library/module_mgr): do not copy module_info
2016-11-30 11:26:59 -05:00
Leonardo de Moura
d40e97b4bc
chore(*): compilation errors, fix style, fix warnings
2016-11-29 11:35:01 -08:00
Gabriel Ebner
f756e9ed92
fix(shell/lean): set global ios
2016-11-29 11:12:44 -08:00
Gabriel Ebner
3ecfddcbd5
fix(*): fix build
2016-11-29 11:12:43 -08:00
Gabriel Ebner
e448e4e129
refactor(util/task_queue): merge module_task into task and cancel by position
2016-11-29 11:12:43 -08:00
Leonardo de Moura
0b2867d939
fix(shell/server): gcc compilation error
2016-11-29 11:12:43 -08:00
Gabriel Ebner
339ade623d
chore(shell/lean): clean up command-line arguments
2016-11-29 11:12:43 -08:00
Gabriel Ebner
a8df381d20
feat(*): parallel compilation
2016-11-29 11:12:40 -08:00
Leonardo de Moura
bd70e29926
chore(shell/leandoc): fix style
2016-11-29 10:38:22 -08:00
Leonardo de Moura
398af80584
feat(shell/leandoc): add support for "brief" description
...
This feature is similar to the one available in doxygen.
2016-11-27 21:42:05 -08:00
Leonardo de Moura
5fe0068301
feat(shell/lean): error if leandoc is used with smt2 files
2016-11-27 20:40:17 -08:00
Leonardo de Moura
fcef94200f
feat(library/documentation): add lean suffix to code blocks
2016-11-27 19:08:35 -08:00
Leonardo de Moura
002c62b49c
feat(frontends/lean): basic leandoc tool
2016-11-27 14:31:31 -08:00
Sebastian Ullrich
2a37611d1f
feat(emacs): implement show-goal-at-pos using faster info manager
2016-11-10 15:17:15 -08:00
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