Leonardo de Moura
|
da616f69ea
|
perf(library/unifier): do not explore branches that will trigger type errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 20:16:16 -07:00 |
|
Leonardo de Moura
|
bbc4380a52
|
fix(library/unifier): bug exposed by recent changes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 19:02:30 -07:00 |
|
Leonardo de Moura
|
069f217215
|
fix(frontends/lean/elaborator): use full local context for metavariables due to coercions and overloads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 17:21:21 -07:00 |
|
Leonardo de Moura
|
d14cbfd7e9
|
refactor(frontends/lean/elaborator): local context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 16:25:54 -07:00 |
|
Leonardo de Moura
|
9cc2015caa
|
feat(library/unifier): better error message for invalid local context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 16:25:22 -07:00 |
|
Leonardo de Moura
|
d1924097d5
|
feat(library/match): add 'local' backtracking
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 10:09:00 -07:00 |
|
Leonardo de Moura
|
e6ffda0c51
|
feat(library/match): add basic match_plugin that just invokes whnf before failing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-05 08:37:03 -07:00 |
|
Leonardo de Moura
|
56d151ef7f
|
feat(frontends/lean): 'partial' aliases. closes #24
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 22:08:10 -07:00 |
|
Leonardo de Moura
|
f4031b620f
|
feat(library/match): extend match_plugin interface, and allow them to recursively invoke the matcher
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 18:30:30 -07:00 |
|
Leonardo de Moura
|
c34c2f4f5c
|
feat(library/match): match universe levels
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 18:30:30 -07:00 |
|
Leonardo de Moura
|
b0a5ff7f93
|
refactor(library): rename hop_match to match
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 18:30:30 -07:00 |
|
Leonardo de Moura
|
0d5e346143
|
fix(library/expr_lt): make sure the builtin order is AC-compatible
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 15:51:10 -07:00 |
|
Leonardo de Moura
|
b9fadeb86e
|
fix(util/realpath): realpath on cygwin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 15:06:08 -07:00 |
|
Leonardo de Moura
|
5755ce4bfc
|
fix(util/lean_path): use unix style paths when using cygwin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 14:45:23 -07:00 |
|
Leonardo de Moura
|
53c7124c2b
|
fix(util/realpath): rename realpath to lrealpath
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 14:42:44 -07:00 |
|
Leonardo de Moura
|
bc4cef9ecb
|
feat(build): clean-olean target deletes .olean and .d files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 14:01:13 -07:00 |
|
Leonardo de Moura
|
59f6cb5962
|
fix(build): delete incorrect/old .d and .olean files, detect errors when generating .d files.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 13:58:48 -07:00 |
|
Leonardo de Moura
|
d5bb7d45ec
|
fix(library/unifier): constraint priority in the unifier, and remove hack from if.lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 13:58:47 -07:00 |
|
Leonardo de Moura
|
552be37d48
|
feat(library/hop_match): port higher-order (pattern) matcher to Lean 0.2, we still have to implement support for universe levels
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 16:03:58 -07:00 |
|
Leonardo de Moura
|
2dca68e645
|
chore(util/list): add inline functions for commonly used patterns in list processing code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 13:51:38 -07:00 |
|
Leonardo de Moura
|
5611c6a0a0
|
chore(util/lean_path): workaround 'spurious' warning produced by g++ in release mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 13:28:05 -07:00 |
|
Leonardo de Moura
|
50b0c17092
|
feat(library/unifier): add more information in error messages due to type errors when assigning metavariables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 09:49:30 -07:00 |
|
Leonardo de Moura
|
bae9700260
|
fix(frontends/lean/dependencies): take relative paths into account when computing dependencies
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 20:03:51 -07:00 |
|
Leonardo de Moura
|
4b030c5d5f
|
feat(library/module): relative module path
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 19:47:55 -07:00 |
|
Leonardo de Moura
|
8768197c24
|
feat(util/lean_path): add dirname and path_append aux functions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 18:12:28 -07:00 |
|
Leonardo de Moura
|
8c37a95164
|
fix(frontends/lean/scanner): typo reported by clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 15:24:04 -07:00 |
|
Leonardo de Moura
|
249c878597
|
fix(frontends/lean/elaborator): warning message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 15:21:23 -07:00 |
|
Leonardo de Moura
|
fbc4a7af3b
|
feat(library/unifier): when unifier.expensive == true, then use only restrict higher-order unification (a fragment slightly more general than higher-order pattern matching) for solving class-instance constraints
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 14:30:25 -07:00 |
|
Leonardo de Moura
|
5e2185cfbe
|
feat(library/unifier): postpone as much as possible universe constraints of the form ?m1 =?= max(l1, l2) and ?m1 =?= imax(l1, l2) where ?m1 occurs in the right hand side. When there is nothing else to be done, try to solve them by reducing to ?m1 = l1 and ?m1 = l2.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 09:14:35 -07:00 |
|
Leonardo de Moura
|
a62e6f84e3
|
feat(frontends/lean/scanner): allow letter-like unicode characters and sub/super-scripts in identifiers
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 00:47:58 -07:00 |
|
Leonardo de Moura
|
52e3505599
|
feat(frontends/lean): display warning message when importing file that uses 'sorry'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 00:47:58 -07:00 |
|
Leonardo de Moura
|
53833c70e9
|
fix(library/coercion): spurious 'replacing coercion', fixes #22
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 21:45:37 -07:00 |
|
Leonardo de Moura
|
428d5cfb99
|
chore(util/sexpr/options): typos
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 21:20:01 -07:00 |
|
Leonardo de Moura
|
0465c6ef53
|
fix(frontends/lean): flyinfo for identifiers defined in sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 21:15:02 -07:00 |
|
Leonardo de Moura
|
3795d466c1
|
fix(frontends/lean/elaborator): provide type information for expressions using '@' operator, and strict function applications
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 20:57:24 -07:00 |
|
Leonardo de Moura
|
0c9317b167
|
feat(frontends/lean/elaborator): add flyinfo for placeholders
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 20:25:06 -07:00 |
|
Leonardo de Moura
|
8bd36dabce
|
refactor(kernel/pos_info_provider): get_pos_info return none if position is not available
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 20:17:26 -07:00 |
|
Leonardo de Moura
|
df57043861
|
fix(frontends/lean/scanner): decode utf8
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 19:58:02 -07:00 |
|
Leonardo de Moura
|
4b604521a0
|
fix(frontends/lean): add hack for flycheck
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 16:26:04 -07:00 |
|
Leonardo de Moura
|
288831dc66
|
fix(kernel/formatter): fixes #21
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 15:07:01 -07:00 |
|
Leonardo de Moura
|
bd766d8b0e
|
fix(frontends/lean/elaborator): remove duplicate entries in flyinfo data
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 14:40:26 -07:00 |
|
Leonardo de Moura
|
4cb8fb20fe
|
fix(frontends/lean/elaborator): bug when mixing string and non-strict implict arguments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 10:58:20 -07:00 |
|
Leonardo de Moura
|
d27c85e30c
|
fix(library/Makefile.common): avoid error message when .d files do not exist
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 10:11:01 -07:00 |
|
Leonardo de Moura
|
466dd11d1b
|
fix(frontends/lean/dependencies): warning message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 19:59:05 -07:00 |
|
Leonardo de Moura
|
f39b2eb70f
|
feat(frontends/lean): add --flyinfo option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 19:54:21 -07:00 |
|
Leonardo de Moura
|
c01b4bd636
|
fix(frontends/lean/parser): generate flycheck-friendly import error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 19:03:54 -07:00 |
|
Leonardo de Moura
|
6ca80b5000
|
feat(frontends/lean): add 'sorry'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 18:35:57 -07:00 |
|
Leonardo de Moura
|
9cf93c8299
|
feat(library/error_handling): add helpers classes for creating WARNING and INFO annotations for flycheck
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 17:41:39 -07:00 |
|
Leonardo de Moura
|
d5d2c1d069
|
fix(emacs): syntax highlight issues reported by Jeremy
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 16:49:19 -07:00 |
|
Leonardo de Moura
|
ba98634a7a
|
feat(frontends/lean/pp): do not display metavariable arguments by default, add option pp.metavar_args to control whether they are displayed or not
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 16:46:16 -07:00 |
|