Leonardo de Moura
|
6e57e70d04
|
fix(frontends/lean/pp): pretty print issue, and fix broken tests output
Remark: we do not allow user to access abstracted version anymore inside
of a section.
|
2016-12-15 15:42:54 -08:00 |
|
Leonardo de Moura
|
451cd177f0
|
feat(frontends/lean/pp): pretty print set_of notation
|
2016-09-24 13:55:02 -07:00 |
|
Leonardo de Moura
|
973bc5f1d6
|
feat(frontends/lean): add notation for 'sep'
|
2016-09-21 16:29:59 -07:00 |
|
Leonardo de Moura
|
c0ff9967af
|
feat(frontends/lean): add basic notation for collections
|
2016-09-21 16:20:57 -07:00 |
|
Daniel Selsam
|
b0c5744eea
|
feat(inductive_compiler): support for mutually inductive types
|
2016-09-10 14:22:27 -07:00 |
|
Leonardo de Moura
|
1afd81384f
|
chore(library/let): delete let-macro hack
|
2016-09-10 13:06:07 -07:00 |
|
Leonardo de Moura
|
a74f02546b
|
refactor(*): remove abbreviation command
|
2016-09-03 17:11:29 -07:00 |
|
Leonardo de Moura
|
e99eb6d47e
|
feat(frontends/lean): revising inaccessible terms syntax again :(
|
2016-08-19 13:57:12 -07:00 |
|
Leonardo de Moura
|
100a15cb0d
|
feat(frontends/lean/pp): pretty print equations macro
|
2016-08-16 10:00:53 -07:00 |
|
Leonardo de Moura
|
52b66a1573
|
chore(frontends/lean/pp, library/pp_options): pp.lazy_abstraction ==> pp.delayed_abstraction
|
2016-08-03 18:45:47 -07:00 |
|
Leonardo de Moura
|
9fc222b9af
|
chore(library/pp_options): remove option pp.metavar_args
|
2016-07-31 16:00:21 -07:00 |
|
Leonardo de Moura
|
f72f9dd561
|
fix(frontends/lean/pp): purify metavar_decl_ref's
The tests become too fragile if we don't purify them.
|
2016-07-30 20:30:03 -07:00 |
|
Leonardo de Moura
|
b4fefd8c0b
|
feat(frontends/lean/elaborator): coercions to functions
|
2016-07-30 18:54:20 -07:00 |
|
Leonardo de Moura
|
8b533a54c2
|
feat(frontends/lean/pp): improve purify_metavars
|
2016-07-30 15:31:06 -07:00 |
|
Leonardo de Moura
|
f18c84ca59
|
feat(frontends/lean/pp): add option for hiding coercions
|
2016-07-30 12:25:18 -07:00 |
|
Leonardo de Moura
|
5b0100ef0b
|
refactor(library/lazy_abstraction): lazy ==> delayed
|
2016-07-27 13:53:17 -07:00 |
|
Daniel Selsam
|
4d77f5ab2d
|
feat(src/frontends/lean/pp): option to print theorem statements instead of proof terms
Conflicts:
src/frontends/lean/pp.cpp
src/library/pp_options.cpp
|
2016-06-14 11:50:53 -07:00 |
|
Leonardo de Moura
|
546033633b
|
feat(frontends/lean/pp): add option for pretty printing lazy-abstractions
|
2016-06-14 09:24:51 -07:00 |
|
Leonardo de Moura
|
35022dbeca
|
feat(frontends/lean/pp): pp should not fail if infer_type fails for locals and/or metas
|
2016-06-13 12:26:41 -07:00 |
|
Sebastian Ullrich
|
647078bd40
|
feat(frontends/lean/pp): add option to hide binder types
Replace old pp.hide_binder_types option
Conflicts:
src/frontends/lean/pp.cpp
src/library/pp_options.cpp
src/library/pp_options.h
|
2016-06-02 12:01:57 -07:00 |
|
Leonardo de Moura
|
76e2f92d9c
|
feat(frontends/lean/pp): pretty print let-expressions
|
2016-05-25 14:04:28 -07:00 |
|
Leonardo de Moura
|
6a9e5079c9
|
feat(library,frontends/lean/pp): add support for new string encoding
|
2016-05-24 16:20:43 -07:00 |
|
Leonardo de Moura
|
ca891c176e
|
feat(frontends/lean/pp): add option pp.hide_comp_irrelevant
It is true by default
|
2016-05-11 11:31:38 -07:00 |
|
Leonardo de Moura
|
da79cd7d95
|
feat(frontends/lean/pp): add option pp.hide_binder_types
|
2016-05-02 18:16:27 -07:00 |
|
Leonardo de Moura
|
eee74ef1b4
|
refactor(frontends/lean/pp): use abstract_type_context instead of type_checker
|
2016-02-26 15:35:29 -08:00 |
|
Sebastian Ullrich
|
6c34718cbc
|
chore(library,frontends/lean): remove option pp.extra_spaces
Obsoleted by improved pretty printer spacing
|
2015-10-13 09:52:35 -07:00 |
|
Leonardo de Moura
|
c9af007994
|
chore(frontends/lean): fix style
|
2015-09-30 17:40:35 -07:00 |
|
Sebastian Ullrich
|
8a96cb6218
|
fix(frontends/lean/pp): extend needs_space_sep to two-token lookahead
|
2015-09-30 17:39:21 -07:00 |
|
Sebastian Ullrich
|
189a300b11
|
feat(frontends/lean): improve pretty printing space insertion heuristic
|
2015-09-30 17:36:32 -07:00 |
|
Leonardo de Moura
|
1f304ad4b9
|
fix(frontends/lean/pp): pretty printing 'binder'
This commit also replaces many occurrences of 'binders' with 'binder'.
|
2015-07-31 11:27:38 -07:00 |
|
Leonardo de Moura
|
3b7b268e40
|
fix(frontends/lean/pp): fixes #634
trying again...
|
2015-05-29 14:07:38 -07:00 |
|
Leonardo de Moura
|
937d6ac7b6
|
fix(frontends/lean/pp): print notation produces incorrect output
fixes #604
|
2015-05-19 09:57:13 -07:00 |
|
Leonardo de Moura
|
a526cd92ac
|
fix(frontends/lean): bug in pretty printer
this is related to issue #530
|
2015-04-22 12:44:08 -07:00 |
|
Leonardo de Moura
|
49bc56ec07
|
feat(frontends/lean/pp): improve pretty printer for prefix and postfix notation
closes #491
|
2015-03-25 16:45:58 -07:00 |
|
Leonardo de Moura
|
b5acbb2228
|
fix(frontends/lean/pp): missing parenthesis around abbreviations
fixes #476
|
2015-03-16 17:12:03 -07:00 |
|
Leonardo de Moura
|
f5811d6092
|
feat(frontends/lean): hide subterms that do not contain metavariables
when generating "unresolved metavariables" error message
closes #473
|
2015-03-13 12:42:57 -07:00 |
|
Leonardo de Moura
|
60fca7575c
|
fix(frontends/lean/pp): bugs when pretty printing abbreviations
|
2015-02-10 19:06:09 -08:00 |
|
Leonardo de Moura
|
43f849bf95
|
feat(frontends/lean/pp): add support for abbreviations in the pretty printer
closes #365
|
2015-02-10 18:27:02 -08:00 |
|
Leonardo de Moura
|
287a444481
|
feat(frontends/lean/pp): add option 'pp.numerals'
|
2014-12-11 17:28:58 -08:00 |
|
Leonardo de Moura
|
320971832d
|
feat(frontends/lean/pp): add hard-coded pretty printer for nat numerals
|
2014-12-01 16:07:55 -08:00 |
|
Leonardo de Moura
|
4ec2101b06
|
feat(frontends/lean): add option 'pp.purify_locals'
|
2014-11-28 14:49:00 -08:00 |
|
Leonardo de Moura
|
0b8c44a94a
|
feat(frontends/lean): add option pp.purify_metavars
It is true by default. If the user sets it to false, then
the internal metavariable names are used in the pretty printer
|
2014-11-09 11:04:22 -08:00 |
|
Leonardo de Moura
|
b5e0ded163
|
feat(frontends/lean): max precedence used by Lean is not max_uint anymore
The motivation is to allow users to define notation with higher
precedence than function application.
|
2014-11-07 07:57:11 -08:00 |
|
Leonardo de Moura
|
2a160508c3
|
feat(frontends/lean): lean --server should display meta-variables using the approach used in check command, closes #280
|
2014-10-30 12:45:41 -07:00 |
|
Leonardo de Moura
|
555d26aa61
|
feat(frontends/lean/pp): take notation declarations into account when pretty printing
TODO: support foldl/foldr and binders
|
2014-10-19 08:41:29 -07:00 |
|
Leonardo de Moura
|
f863d82e69
|
fix(frontends/lean/pp): pp was not taking into account new namespace name resolution rules, fixes #216
|
2014-10-01 11:24:45 -07:00 |
|
Leonardo de Moura
|
29d6bff785
|
refactor(frontends/lean): explicit initialization/finalization
|
2014-09-23 10:00:36 -07:00 |
|
Leonardo de Moura
|
8fe7465ade
|
fix(frontends/lean/pp): when formatting a coercion to function-class
that contains implicit arguments
|
2014-09-20 09:56:46 -07:00 |
|
Leonardo de Moura
|
2d94584816
|
feat(frontends/lean/pp): add 'pp.beta' option, closes #154
|
2014-09-09 14:10:20 -07:00 |
|
Leonardo de Moura
|
ee196bbf1a
|
fix(frontends/lean/pp): pretty printing coercions to functions, fixes #151
|
2014-09-09 12:49:32 -07:00 |
|