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
|
34dfacc10e
|
refactor(frontends/lean): Bool does not need to be a reserved keyword
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:52:12 -07:00 |
|
Leonardo de Moura
|
6db265e7ab
|
feat(frontends/lean/builtin_exprs): parse '_' placeholder
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:41:08 -07:00 |
|
Leonardo de Moura
|
5ce0502a36
|
feat(frontends/lean/builtin_exprs): add parser for 'let' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 09:50:34 -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
|
27130c9499
|
feat(frontends/lean): local notation 'shadows' global one
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 11:50: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
|
64cafd6875
|
feat(frontends/lean/notation_cmd): add 'notation' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 10:49:05 -07:00 |
|
Leonardo de Moura
|
9b389a96d5
|
feat(frontends/lean/notation_cmd): modify infixl/infixr/postfix command syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 08:28:49 -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
|
5fee6fd140
|
feat(shell/lean): add '-o' command line option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-14 08:10:43 -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
|
5aca452439
|
feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 08:26:05 -07:00 |
|
Leonardo de Moura
|
d50376249f
|
feat(library/aliases): add level aliases
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 12:35:02 -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
|
1972a09021
|
feat(frontends/lean/builtin_cmds): add simple 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 14:35:34 -07:00 |
|
Leonardo de Moura
|
7fd502993b
|
refactor(frontends/lean/cmd_table): remove register_builtin_cmd procedures, they would cause initialization problems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 14:35:34 -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
|
8fcc25d55a
|
fix(frontends/lean/token_table): static initialization problem
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 10:56:04 -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
|
d3e3301208
|
refactor(frontends/lean/scanner): use the parser configuration in the environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 10:59:12 -07:00 |
|
Leonardo de Moura
|
e2adb101d5
|
feat(frontends/lean): add parser_config environment extension
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 10:39:22 -07:00 |
|
Leonardo de Moura
|
d81df2efe2
|
feat(frontends/lean/parse_table): add use_lambda_abstraction flag to scoped_expr_actions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 09:39:01 -07:00 |
|
Leonardo de Moura
|
546f9dc00b
|
chore(frontends/lean): use consistent name conventions, rename token_set to token_table
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 09:18:57 -07:00 |
|
Leonardo de Moura
|
00e0cc15ba
|
feat(frontends/lean/token_set): add token_set Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-09 16:49:22 -07:00 |
|
Leonardo de Moura
|
af0c93e0eb
|
feat(frontends/lean/parse_table): add typedef for notation::parse_table
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-09 15:54:56 -07:00 |
|
Leonardo de Moura
|
439b6c1e96
|
feat(frontends/lean/parse_table): add parse_table Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-09 15:33:39 -07:00 |
|
Leonardo de Moura
|
722ea7273e
|
feat(frontends/lean): add parse_table datastructure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-09 13:20:33 -07:00 |
|
Leonardo de Moura
|
d10d70423a
|
feat(frontends/lean): add new scanner
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-05 18:57:26 -07:00 |
|
Leonardo de Moura
|
4cf1b05831
|
refactor(library/token_set): move to frontends/lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-05 13:10:50 -07:00 |
|
Leonardo de Moura
|
e79e0302d0
|
fix(frontends/lean): style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 16:09:21 -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
|
aa8240985a
|
test(examples/lean): small version of algebraic hierarchy (proof of concept)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-24 20:51:19 -08:00 |
|
Leonardo de Moura
|
d79e9af210
|
fix(frontends/lean): help msg
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-18 09:31:30 -08:00 |
|
Leonardo de Moura
|
0878b44fc7
|
feat(frontends/lean): allow user to import several theories using a single import
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-11 17:15:12 -08:00 |
|
Leonardo de Moura
|
a2d2e36f04
|
refactor(frontends/lean): remove notation for creating tuples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-10 09:03:42 -08:00 |
|
Leonardo de Moura
|
633ed6bb69
|
fix(frontends/lean/parser): bug in add_rewrite
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-09 09:46:56 -08:00 |
|
Leonardo de Moura
|
b24c085cb0
|
feat(frontends/lean): avoid warning message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-09 09:26:51 -08:00 |
|
Leonardo de Moura
|
24528ff685
|
fix(library/elaborator): fix glitches in the elaborator that were forcing us to provide parameters explicitly
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-07 18:02:08 -08:00 |
|
Leonardo de Moura
|
1ec01f5757
|
refactor(builtin): merge pair.lean with kernel.lean, and add basic theorems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-02-07 16:04:44 -08:00 |
|