Leonardo de Moura
|
9a13bef4f3
|
fix(frontends/lean): fix (and simplify) parameter universe inference
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-06 16:56:54 -07:00 |
|
Leonardo de Moura
|
32a605e793
|
fix(frontends/lean/builtin_cmds): allow 'check' command to unfold the current module opaque definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 17:39:49 -07:00 |
|
Leonardo de Moura
|
e3ab0a1d10
|
feat(frontends/lean): improve error messages when users forget to import 'tactic'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-03 08:33:29 -07:00 |
|
Leonardo de Moura
|
181a739a5e
|
feat(frontends/lean/elaborator): report unassigned metavariables as goals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 16:26:06 -07:00 |
|
Leonardo de Moura
|
d46ade94a7
|
refactor(frontends/lean): remove unnecessary code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 14:47:41 -07:00 |
|
Leonardo de Moura
|
a66a08c89e
|
feat(frontends/lean): parse strings as expressions of type 'string.string'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 10:00:55 -07:00 |
|
Leonardo de Moura
|
0198dfc7c5
|
feat(frontends/lean): parse numerals as expressions of type 'num.num'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 08:09:33 -07:00 |
|
Leonardo de Moura
|
b2b76b078f
|
feat(frontends/lean): remove build_tactic_cmds, and use expressions for representing tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-01 20:43:53 -07:00 |
|
Leonardo de Moura
|
3e299a1d5a
|
refactor(frontends/lean/parser): move parser Lua bindings to a separate file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-30 17:00:10 -07:00 |
|
Leonardo de Moura
|
bccc3df1aa
|
chore(frontends/lean): reduce code duplication
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-30 16:52:20 -07:00 |
|
Leonardo de Moura
|
cb000eda13
|
refactor(kernel): store binder_infor in local constants
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-30 11:37:46 -07:00 |
|
Leonardo de Moura
|
8d584e54da
|
feat(frontends/lean): add exact_apply
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-30 00:51:11 -07:00 |
|
Leonardo de Moura
|
360e9b9486
|
feat(library/tactic): add apply tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 18:33:53 -07:00 |
|
Leonardo de Moura
|
ec18bd93f9
|
feat(frontends/lean): send tactic hint table to elaborator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 07:03:25 -07:00 |
|
Leonardo de Moura
|
193ce35419
|
refactor(frontends/lean/inductive_cmd): redesign inductive datatype elaboration, use the new elaborator, and use simpler algorithm to infer the resulting universe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-28 15:33:56 -07:00 |
|
Leonardo de Moura
|
d055c4880f
|
feat(frontends/lean): connect new elaborator to frontend
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-25 08:31:00 -07:00 |
|
Leonardo de Moura
|
2589d60bfd
|
feat(frontends/lean): add nameless 'have' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 17:18:18 -07:00 |
|
Leonardo de Moura
|
16412daf39
|
feat(frontends/lean): add 'using' syntax sugar for adding expressions to the goal's context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-20 11:58:05 -07:00 |
|
Leonardo de Moura
|
bdab979e09
|
feat(frontends/lean): add inductive_cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 16:00:59 -07:00 |
|
Leonardo de Moura
|
6259d20218
|
feat(frontends/lean/parser): expand Lua parser API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-18 08:03:17 -07:00 |
|
Leonardo de Moura
|
3ea24c0f32
|
fix(library/kernel_bindings): set_environment and set_io_state objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 22:36:47 -07:00 |
|
Leonardo de Moura
|
1378fa5cbb
|
refactor(util/script_state): remove support for threads and communication channels from the Lua API, the goal is to keep is simple, and use one Lua state object per thread
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 21:56:45 -07:00 |
|
Leonardo de Moura
|
f17e8a853a
|
feat(frontends/lean): allow parser actions to be implemented using Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 21:56:16 -07:00 |
|
Leonardo de Moura
|
4cbc429192
|
feat(frontends/lean/calc): add parse_calc function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 17:16:15 -07:00 |
|
Leonardo de Moura
|
e178979061
|
feat(frontends/lean): add calc_subst, calc_refl, calc_trans commands for configuring calc-expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 13:35:31 -07:00 |
|
Leonardo de Moura
|
28c904abea
|
feat(frontends/lean/parser): add 'flag' for disabling 'unknown identifier' errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 10:30:03 -07:00 |
|
Leonardo de Moura
|
ea49176043
|
feat(frontends/lean/builtin_cmds): add 'using' command, and 'hiding/renaming' directives
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 18:42:39 -07:00 |
|
Leonardo de Moura
|
3e377a9732
|
feat(frontends/lean/builtin_cmds): add 'set_option' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 17:27:43 -07:00 |
|
Leonardo de Moura
|
a964ceb0e2
|
feat(frontends/lean): add 'import' command, add command line option for setting number of threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 16:37:46 -07:00 |
|
Leonardo de Moura
|
f1e3449aae
|
fix(frontends/lean): propagate position information
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 13:20:10 -07:00 |
|
Leonardo de Moura
|
f70b1b028a
|
feat(frontends/lean): provide position to parse_fn external function, add 'by' expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 12:28:58 -07:00 |
|
Leonardo de Moura
|
775e10186d
|
refactor(parser): use 'scope objects' for creating local scopes and setting m_type_use_placeholder flag
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 09:24:41 -07:00 |
|
Leonardo de Moura
|
28047a33ae
|
feat(frontends/lean): add local notation support
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 11:30:52 -07:00 |
|
Leonardo de Moura
|
e7019ec840
|
feat(frontends/lean): add infixl/infixr/postfix/precedence commands, add support for storing notation in .olean files, add support for organizing notation into namespaces
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 22:13:25 -07:00 |
|
Leonardo de Moura
|
891a3fb48b
|
feat(frontends/lean): add command block reader with snapshot and resume
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 14:13:32 -07:00 |
|
Leonardo de Moura
|
6b99a29c2c
|
refactor(frontends/lean): add local_decls template that is cheap to copy
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 09:56:05 -07:00 |
|
Leonardo de Moura
|
282a35bd1b
|
feat(frontends/lean): add '#setline' directive
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 07:28:56 -07:00 |
|
Leonardo de Moura
|
48c58af9b5
|
feat(frontends/lean/parser): allow explicit universe level to be provided to aliases and locals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 18:00:52 -07:00 |
|
Leonardo de Moura
|
a65c43c0db
|
feat(frontends/lean/builtin_cmds): add definition command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 17:30:35 -07:00 |
|
Leonardo de Moura
|
01cecb76db
|
feat(frontends/lean/builtin_cmds): add 'variable' command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 15:13:50 -07:00 |
|
Leonardo de Moura
|
ce259e6265
|
feat(frontends/lean/parser): add namespace/section/end commands, add support for explicit universe levels, fix Type notation'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 11:34:43 -07:00 |
|
Leonardo de Moura
|
3bde699fbe
|
feat(frontends/lean/parser): add parse_level
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 12:34:55 -07:00 |
|
Leonardo de Moura
|
5a008717a4
|
feat(frontends/lean/parser): add parse_notation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 21:00:34 -07:00 |
|
Leonardo de Moura
|
e7d7996fa9
|
feat(frontends/lean/parser): add parser_binder(s) and abstract methods
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 18:51:12 -07:00 |
|
Leonardo de Moura
|
959c3ffc68
|
feat(frontends/lean/parser): add parse_id method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 15:09:16 -07:00 |
|
Leonardo de Moura
|
2e8ebb6d9e
|
feat(frontends/lean/parser): add 'parse_commands' and 'parse_script'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 14:32:07 -07:00 |
|
Leonardo de Moura
|
3dc26666b9
|
feat(frontends/lean): add parser interface
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 18:20:59 -07:00 |
|
Leonardo de Moura
|
c6af56260e
|
refactor(frontends/lean): remove dead code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 15:51:41 -07:00 |
|
Leonardo de Moura
|
ccb9faf065
|
refactor(*): error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-01-13 16:54:21 -08:00 |
|
Leonardo de Moura
|
f7c7dd4ed4
|
feat(frontends/lean): include filename in error messages, use GNU error message style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-01-09 11:01:27 -08:00 |
|