Leonardo de Moura
|
dc3e9a15d2
|
refactor(library/definitions_cache): rename to definition_cache
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 18:12:12 -07:00 |
|
Leonardo de Moura
|
343407b1b6
|
feat(shell/lean): add --index option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 18:05:48 -07:00 |
|
Leonardo de Moura
|
b4775eb017
|
feat(frontends/lean/server): add EVAL command, closes #40
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 16:08:43 -07:00 |
|
Leonardo de Moura
|
9f3f42f6a5
|
feat(frontends/lean/server): add SET command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 14:40:46 -07:00 |
|
Leonardo de Moura
|
8afd433f34
|
feat(frontends/lean/parser): allow parser to continue even if there are errors importing files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 11:28:44 -07:00 |
|
Leonardo de Moura
|
d1c645977d
|
fix(frontends/lean/info_manager): add missing method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 11:28:44 -07:00 |
|
Leonardo de Moura
|
be8ee8b3c0
|
feat(frontends/lean): add information about synthesized placeholders, closes #39
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 10:37:24 -07:00 |
|
Leonardo de Moura
|
28b7d87f1f
|
feat(frontends/lean/pp): pretty print numerals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 09:12:22 -07:00 |
|
Leonardo de Moura
|
19537b72ee
|
feat(frontends/lean/elaborator): generate type information for placeholders
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 09:12:22 -07:00 |
|
Leonardo de Moura
|
75be034d3d
|
fix(frontends/lean/server): crash when INFO is invoked before VISIT/LOAD
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-13 18:31:47 -07:00 |
|
Leonardo de Moura
|
d30854829d
|
refactor(frontends/lean): rename elaborator_env to elaborator_context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-13 17:06:48 -07:00 |
|
Leonardo de Moura
|
e5a36467dd
|
fix(frontends/lean/scanner): wrong column information produced by scanner
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-13 12:32:37 -07:00 |
|
Leonardo de Moura
|
631e2395a3
|
refactor(frontends/lean/elaborator): add elaborator_env class
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 18:43:56 -07:00 |
|
Leonardo de Moura
|
2f48552f06
|
fix(frontends/lean/server): disable cache, when a definition is reused from the cache, we loose type information, fixes #35
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
2869d9059f
|
feat(frontends/lean): change 'proof-qed' semantics: no backtracking
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
b32d801116
|
refactor(frontends/lean/elaborator): remove unnecessary field: m_subst
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
c5aea3eba7
|
refactor(frontends/lean/elaborator): remove m_accumulated and eager metavariable instantiation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
60ab6d3bd8
|
feat(frontends/lean): remove feature that in declarations such as (A B : Type), forced A and B to be in the same universe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Soonho Kong
|
0ca0ccb77d
|
feat(frontend/lean/server.cpp): add "-- BEGININFO" header
|
2014-08-12 17:29:58 -07:00 |
|
Leonardo de Moura
|
cb8185f016
|
feat(frontends/lean): add '#erase_cache' command (for debugging purposes)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-11 13:55:29 -07:00 |
|
Leonardo de Moura
|
faf2795a7b
|
feat(frontends/lean/server): add VISIT and CHECK commands
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-11 10:40:18 -07:00 |
|
Leonardo de Moura
|
71583ba9c8
|
feat(frontends/lean/server): use definitions_cache in the server object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 20:02:50 -07:00 |
|
Leonardo de Moura
|
34f0dedf46
|
feat(frontends/lean/server): add 'INSERT' and 'REMOVE' commands to lean 'server', make sure all commands use the same convention for numbering lines, update server.org
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 19:57:24 -07:00 |
|
Leonardo de Moura
|
9d4c073618
|
feat(frontends/lean): add option --cache
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 11:04:16 -07:00 |
|
Leonardo de Moura
|
70c0eda9fc
|
feat(frontends/lean): make sure all scopes are closed in the end of the module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 17:08:59 -07:00 |
|
Leonardo de Moura
|
1a67e69678
|
feat(library/scoped_ext): force user to end a scope with an identifier matching the one used in beginning of scope, closes #30
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 16:59:08 -07:00 |
|
Leonardo de Moura
|
955d7d2659
|
fix(library/aliases): namespace and constant have the same name, and 'using' produces the 'empty' alias
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 08:32:21 -07:00 |
|
Leonardo de Moura
|
4ad7e709aa
|
feat(frontends/lean): default for inductive types, closes #32
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 07:52:37 -07:00 |
|
Leonardo de Moura
|
b56233cbe3
|
fix(frontends/lean): make sure typing information is sorted, make sure the error messages contains line file name
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 23:15:05 -07:00 |
|
Leonardo de Moura
|
c6f3232f81
|
feat(frontends/lean): provide 'partial' type information even when there are type errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 21:56:57 -07:00 |
|
Leonardo de Moura
|
1cbf40a5d2
|
fix(frontends/lean): remove duplicate info entries, fix bug in save_overload
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 21:23:37 -07:00 |
|
Leonardo de Moura
|
0af4a67881
|
feat(frontends/lean): save type information after elaboration, remove --flyinfo option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 19:35:26 -07:00 |
|
Leonardo de Moura
|
0276f4c1c0
|
feat(frontends/lean): store 'overload' information, remove #setline
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 19:13:09 -07:00 |
|
Leonardo de Moura
|
1ba9a92df2
|
feat(frontends/lean/parser): save snapshots
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 18:31:53 -07:00 |
|
Leonardo de Moura
|
9b765a2a06
|
chore(frontends/lean): fix style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 18:10:33 -07:00 |
|
Leonardo de Moura
|
1a725574b1
|
refactor(frontends/lean): add 'server' module as a replacement for 'interactive'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 18:07:04 -07:00 |
|
Leonardo de Moura
|
2c3737bcc6
|
feat(frontends/lean): add info_manager
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-06 15:25:28 -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|