Leonardo de Moura
|
50806314d4
|
feat(util/name): add name_pair, and lex order
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 13:09:29 -07:00 |
|
Leonardo de Moura
|
f9d81c24d3
|
feat(library/expr_lt): add lex comparison for expression pairs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 12:14:22 -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
|
4be05e1d8c
|
refactor(frontends/lean): expose notation_entry and token_entry structures, and add functions for parsing notation without affecting the environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 10:12:04 -07:00 |
|
Leonardo de Moura
|
819c8276f2
|
feat(frontends/lean/builtin_cmds): add 'variables' command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-17 08:25:00 -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
|
639d58f4c7
|
feat(frontends/lean/builtin_cmds): add 'print options' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 17:31:28 -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
|
0779db7ae9
|
fix(kernel): set module_idx on theorems, otherwise we are not able to import theorems that use opaque definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 16:56:11 -07:00 |
|
Leonardo de Moura
|
73b7a44c84
|
fix(shell/CMakeFiles): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 16:55:16 -07:00 |
|
Leonardo de Moura
|
82e79d9c78
|
fix(frontends/lean/parser): style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 16:54:44 -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
|
79d32b768d
|
feat(shell): add '--hott' command line option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 15:50:27 -07:00 |
|
Leonardo de Moura
|
4f3da90443
|
feat(frontends/lean/builtin_exprs): add 'have' and 'show' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 15:04:29 -07:00 |
|
Leonardo de Moura
|
2c4175341c
|
feat(library/placeholder): allow types to be attached to placeholders
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 14:35:55 -07:00 |
|
Leonardo de Moura
|
07f2379dec
|
refactor(kernel): add mk_local function that has only two arguments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 14:27:26 -07:00 |
|
Leonardo de Moura
|
21c54755a9
|
fix(kernel/converter): bug in is_def_eq
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 14:09:12 -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
|
2312f43443
|
fix(kernel/abstract): propagate tags when abstracting
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 13:00:13 -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
|
77b0e9d05d
|
feat(emacs): add 'abbreviation' in the list of keywords
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:54:04 -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
|
249168ce0b
|
feat(emacs): add 'postfix' in the list of keywords
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 10:03:36 -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
|
cb49e3719e
|
fix(util/optional): bug in emplace method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 09:24:15 -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
|
9931033554
|
feat(shell/lean): remove --olean option
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 10:50:35 -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
|
961b0bfacf
|
feat(kernel/type_checker): use argument position when reporting application type mismatch errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-15 10:06:53 -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
|
378b691ea7
|
feat(emacs): update keywords
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 11:25:24 -07:00 |
|
Leonardo de Moura
|
b347117cf3
|
feat(util/scoped_map): add 'keep' method for closing a scope without undoing operations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 11:25:14 -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
|
a914345d29
|
feat(library): new scoping framework
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 19:33:02 -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
|
cffbae3667
|
test(tests/lean/run): add new test group, where we just execute Lean (and don't check output)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 21:07:23 -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 |
|