Leonardo de Moura
1fbb554a16
feat(library/module): provide predicate module::is_definition
2014-09-17 16:32:00 -07:00
Leonardo de Moura
9733401c20
fix(frontends/lean/tactic_hint): failure when compiling lean terms into
...
tactics: mismatch on the number of universe parameters
2014-09-17 15:23:10 -07:00
Leonardo de Moura
8b76deb971
fix(util/thread_script_state): style
2014-09-17 15:23:10 -07:00
Leonardo de Moura
19148af7ae
feat(build): do not display WARNING message when tcmalloc is not found
2014-09-17 15:23:10 -07:00
Leonardo de Moura
26918022d8
feat(build): use Release when compilation mode is not specified
2014-09-17 15:23:10 -07:00
Leonardo de Moura
e3e1668f27
fix(util/thread_script_state): disable script_state recycling at finalization time
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-17 09:57:17 -07:00
Leonardo de Moura
a72a11db8e
fix(util/script_state_manager): crash when compiling with msys2 stack
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-17 08:39:06 -07:00
Leonardo de Moura
aa5abefaff
fix(util/thread_script_state): make sure system does not crash during
...
finalization
2014-09-17 08:25:21 -07:00
Soonho Kong
9161a6a210
fix(emacs/lean-type): change where to trigger eldoc
...
Previously, eldoc is triggered regardless of current position.
Now, it is triggered:
- *NOT* looking-at whitespace or
- looking-back end-parens such as ')', '}', ']', etc
2014-09-17 00:24:30 -07:00
Leonardo de Moura
9a2f1ba423
fix(util): compilation problems when using msys2
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-16 21:29:51 -07:00
Leonardo de Moura
f03f0aa8b9
fix(util/thread): MULTI_THREAD=OFF mode
2014-09-16 20:44:43 -07:00
Leonardo de Moura
2b0623c0a1
fix(frontends/lean): assertion violations
2014-09-16 18:59:51 -07:00
Leonardo de Moura
78ad24a697
feat(frontends/lean/server): add SYNC command, closes #199
2014-09-16 18:42:34 -07:00
Leonardo de Moura
e3e2370a38
feat(frontends/lean): split 'opaque_hint' command into 'opaque' and 'transparent'
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-16 18:03:40 -07:00
Leonardo de Moura
4b51d50ad4
fix(frontends/lean/elaborator): coercion overloading
2014-09-16 15:12:20 -07:00
Leonardo de Moura
dffe9a6f17
fix(frontends/lean/elaborator): more robust support for coercions to
...
function-class that contains implicit arguments
2014-09-16 13:08:34 -07:00
Leonardo de Moura
d0d23eb525
fix(frontends/lean/inductive_cmd): improve name resolution in inductive
...
command
The new test demonstrates the problem being fixed by this commit
2014-09-16 09:48:51 -07:00
Soonho Kong
2a8ddf055b
fix(emacs/lean-option): fix lean-get-options
2014-09-15 17:44:24 -07:00
Soonho Kong
aa9fe958a9
feat(emacs/lean-debug): add lean-debug minor-mode
...
close #177
2014-09-15 16:50:35 -07:00
Leonardo de Moura
af2c3b1815
fix(frontends/lean/info_manager): bug in save_environment_options,
...
server was displaying old results
2014-09-15 16:05:17 -07:00
Leonardo de Moura
93e83baa1b
fix(frontends/lean/parser): commit_upto invocation after 'import'
2014-09-15 16:05:17 -07:00
Leonardo de Moura
feb4993f9c
fix(frontends/lean/server): '[anonymous]' entry being displayed by FINDP
...
This could happen when there is a declaration (e.g., nat) whose type is
equal to an active namespace.
2014-09-15 16:05:17 -07:00
Soonho Kong
18e6481ce3
test(emacs/lean-option-test): add lean-test-update-string-alist-default
2014-09-15 13:04:53 -07:00
Soonho Kong
b650793b33
feat(lean-option): handle default pp.width option value
2014-09-15 13:04:53 -07:00
Soonho Kong
254d861970
feat(bin/linja): pass -D config option to lean
...
Close #196
2014-09-15 13:04:13 -07:00
Soonho Kong
2bdc415a34
fix(emacs/lean-option): handle lean-option-string when it's nil
2014-09-15 11:26:53 -07:00
Soonho Kong
11ff7b5d33
feat(lean-mode): enable mmm-parse-when-idle
...
Related issue: #74
2014-09-15 10:23:38 -07:00
Soonho Kong
f94e28ce39
fix(emacs/lean-mode): disable flycheck-lua inside of lean-mode
...
Related issue: #74
2014-09-15 10:23:31 -07:00
Soonho Kong
c3d39938ac
test(emacs): add lean-option-test
2014-09-15 09:48:33 -07:00
Soonho Kong
4bbfe4ec79
feat(emacs/lean-tags): add lean-global-search
...
close #170
2014-09-15 09:48:33 -07:00
Soonho Kong
ff6862f587
fix(emacs/lean-mode): pass lean-options to lean-execute
...
Related issue: #196
2014-09-15 09:48:26 -07:00
Soonho Kong
75ab5e07d6
feat(emacs/lean-option): save lean-options to lean-global-option-alist
2014-09-15 09:46:06 -07:00
Soonho Kong
f25f9a8fab
fix(emacs/lean-mmm-lua): add 'insert' for mmm-insert-region (C-c % l)
...
Related issue: #74 , https://github.com/flycheck/flycheck/issues/349 , https://github.com/purcell/mmm-mode/issues/32
2014-09-15 00:03:21 -07:00
Soonho Kong
1527efb108
fix(emacs/lean-mode): run company-lean--check-prefix before auto-complete
...
fix #191
2014-09-14 23:15:24 -07:00
Soonho Kong
27b20c5585
fix(emacs/lean-company): fix auto-complete behavior after tab
...
fix #192
2014-09-14 23:15:24 -07:00
Soonho Kong
81ecbb4c94
fix(emacs/lean-company): import auto complete bug
...
fix #189
2014-09-14 23:15:24 -07:00
Soonho Kong
d424cdd336
feat(emacs/lean-company): add custom-variable lean-company-type-foreground
...
Close #190
2014-09-14 23:15:24 -07:00
Soonho Kong
87ad568ae6
fix(emacs/CMakeLists.txt): add all *.el files when install
2014-09-14 23:15:24 -07:00
Soonho Kong
50213fc664
fix(emacs/Makefile): add missing Makefile
2014-09-14 23:14:42 -07:00
Soonho Kong
df588d6ba0
fix(lean-flycheck): make column optional when detecting error/messages
...
fix #194
2014-09-14 23:14:42 -07:00
Leonardo de Moura
d47412d201
fix(frontends/lean/parser): error line numbers for lua code, fixes #194
2014-09-14 21:03:09 -07:00
Leonardo de Moura
841658ec37
feat(library/error_handling): generate valid line and column information
...
when in flycheck mode
2014-09-14 20:15:22 -07:00
Leonardo de Moura
edcbe6fe10
feat(frontends/lean): allow multiple coercions from class A to B, closes #187
...
See new tests (for examples)
tests/lean/run/coe10.lean
tests/lean/run/coe11.lean
tests/lean/run/coe9.lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-14 12:59:43 -07:00
Leonardo de Moura
1b6d4460e9
chore(library/coercion): cleanup
2014-09-14 12:59:43 -07:00
Soonho Kong
765d9b032f
feat(src/cmake/modules/CleanOlean.cmake): add CleanOlean.cmake
...
Instead of using 'find -delete', use CMAKE's FILE GLOB_RECURSE and FILE
REMOVE to implement clean-olean.
Related issue: #166
2014-09-14 01:40:21 -07:00
Soonho Kong
2d29d6d319
feat(emacs/lean-company): auto-completion for import
...
Close #126
2014-09-14 00:00:25 -07:00
Soonho Kong
bf9ff192ca
chore(emacs/README.md): add 'f' as a required package for lean-mode
2014-09-13 23:35:38 -07:00
Leonardo de Moura
d647954f93
feat(frontends/lean/elaborator): constraints associated with 'proof-qed'
...
blocks are solved independently, closes #82
2014-09-13 10:21:10 -07:00
Leonardo de Moura
8c8c9d1c4a
feat(frontends/lean/elaborator): cleanup and remove unnecessary code
2014-09-12 17:55:27 -07:00
Leonardo de Moura
0c50517058
refactor(frontends/lean/elaborator): do not save/restore cache
2014-09-12 17:39:11 -07:00