Leonardo de Moura
|
27f6bfd3f0
|
refactor(*): add file constants.txt with all constants used by the Lean binary
|
2015-01-23 16:50:32 -08:00 |
|
Leonardo de Moura
|
752b54085b
|
refactor(kernel/type_checker): type checker should not unfold macros, but sign an error if a untrusted macro is used
Now, we unfold untrusted macros outside of the Lean kernel.
|
2015-01-20 12:36:56 -08:00 |
|
Leonardo de Moura
|
69750c50c6
|
refactor(frontends/lean): move pp_options to library
|
2014-12-19 15:00:05 -08:00 |
|
Leonardo de Moura
|
02de288a51
|
refactor(frontends/lean): move choice_iterator to library
|
2014-12-19 14:29:32 -08:00 |
|
Leonardo de Moura
|
8939351903
|
refactor(library): add compile_equations function, generic_exception, and cleanup elaborator_exception
|
2014-12-15 19:22:17 -08:00 |
|
Leonardo de Moura
|
756fae7c2a
|
refactor(frontends/lean): move local_context to library
|
2014-12-10 12:43:32 -08:00 |
|
Leonardo de Moura
|
d98aabe9ab
|
refactor(library): move library/definitional/util module to library
|
2014-12-10 11:23:23 -08:00 |
|
Leonardo de Moura
|
ac664505e6
|
refactor(library): move class management to library module
|
2014-12-09 21:38:55 -08:00 |
|
Leonardo de Moura
|
eb87c18693
|
feat(*): add support for separate HoTT library
|
2014-12-05 14:34:02 -08:00 |
|
Leonardo de Moura
|
d2cbd25985
|
refactor(kernel): replace_visitor doesn't need to be in the kernel anymore
|
2014-10-17 10:23:35 -07:00 |
|
Leonardo de Moura
|
b94d121580
|
refactor(library): move flycheck "helper" classes to separate module
|
2014-10-15 09:08:04 -07:00 |
|
Leonardo de Moura
|
19dec32844
|
feat(library): add environment fingerprint
|
2014-09-29 18:30:00 -07:00 |
|
Leonardo de Moura
|
b1ee888aae
|
refactor(*): start move to explicit initialization/finalization,
explicitly initialize/finalize options
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-22 10:41:07 -07:00 |
|
Leonardo de Moura
|
08ccd58eb6
|
feat(frontends/lean): add 'reducible' modifier for controlling which
definitions are unfolded during elaboration
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
dd31ed60b0
|
refactor(library): remove unnecessary file hott_kernel, HoTT and
standard library have been merged
|
2014-09-18 20:30:37 -07:00 |
|
Leonardo de Moura
|
80fd14b39e
|
refactor(frontends/lean): replace collect_metavars with metavar_closure helper class
|
2014-09-11 14:49:35 -07:00 |
|
Leonardo de Moura
|
e14814d4bf
|
feat(frontends/lean): add '[protected]' modifier
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 15:01:13 -07:00 |
|
Leonardo de Moura
|
060093cbab
|
refactor(library): add type_util module, and move get_expect_num_args to it
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-03 08:40:03 -07:00 |
|
Leonardo de Moura
|
be56fcf0bd
|
fix(frontends/lean/pp): pretty print 'let-expressions', closes #87
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 18:20:58 -07:00 |
|
Leonardo de Moura
|
01000ff7df
|
feat(library): add typed_expr macro
We use it to enforce that a let-variable has the expected type
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 11:26:06 -07:00 |
|
Leonardo de Moura
|
d4ac482d76
|
refactor(kernel): move annotation to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:38:10 -07:00 |
|
Leonardo de Moura
|
b746492ac8
|
refactor(library/simple_formatter): rename simple_formatter to print
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:32:08 -07:00 |
|
Leonardo de Moura
|
7d987df429
|
refactor(kernel/formatter): move simple_formatter to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:26:45 -07:00 |
|
Leonardo de Moura
|
3d8477f7de
|
fix(library/module): ignore multiple declarations of 'sorry', fixes #59
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 15:55:58 -07:00 |
|
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
|
dc503e6e3d
|
feat(library): add definitions_cache datastructure for implementing .clean files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 09:53:13 -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
|
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
|
33cb2db5b5
|
feat(library/head_map): a simple indexing datastructure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-08 15:08:13 -07:00 |
|
Leonardo de Moura
|
55894f01e3
|
feat(frontends/lean): add 'opaque_hint' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 18:58:20 -07:00 |
|
Leonardo de Moura
|
72bce91c18
|
refactor(library/unifier): move inductive datatype support to inductive_unifier_plugin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 11:00:35 -07:00 |
|
Leonardo de Moura
|
e445515f2b
|
refactor(kernel): move standard and hott kernel instantiations to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 10:31:27 -07:00 |
|
Leonardo de Moura
|
ab929d7201
|
refactor(library/unifier): store the unifier_plugin in the environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 10:25:58 -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
|
3169f8c126
|
feat(library): add mk_explicit/is_explicit procedures for '@'-expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-24 12:11:27 -07:00 |
|
Leonardo de Moura
|
bf8f3318d8
|
feat(library): add unifier module skeleton
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-21 13:38:17 -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
|
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
|
4f83b1a50b
|
feat(library): add choice expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-11 14:35:34 -07:00 |
|
Leonardo de Moura
|
c1796d0ce4
|
chore(*): remove dead code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-06 10:35:17 -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
|
7dba2c29d2
|
feat(library): add token set
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 02:34:12 -07:00 |
|
Leonardo de Moura
|
712c10f818
|
fix(library/scope): make sure the local universe names do not conflict with universe parameter names when close a section, add declaration parameter name sanitizers
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 15:39:57 -07:00 |
|
Leonardo de Moura
|
f82658f213
|
feat(library): add helper functions for 'updating' declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 15:13:38 -07:00 |
|
Leonardo de Moura
|
286d7f0e64
|
feat(library): add namespace management
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 15:41:01 -07:00 |
|
Leonardo de Moura
|
1b5366cfb7
|
feat(library): add module for implementing aliases and 'using' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-30 21:42:40 -07:00 |
|
Leonardo de Moura
|
6902d8cb05
|
feat(library): add simple placeholder module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-30 20:28:28 -07:00 |
|
Leonardo de Moura
|
128d668f03
|
feat(library): add support for creating 'private/hidden' names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-29 18:37:09 -07:00 |
|