Leonardo de Moura
|
20ab59c740
|
fix(frontends/lean/pp): avoid unnecessary parentheses when pretty printing delimited notation
|
2014-10-23 14:14:08 -07:00 |
|
Leonardo de Moura
|
8a44dfc1df
|
fix(frontends/lean/pp): bug in pretty printer notation match procedure
|
2014-10-20 18:58:27 -07:00 |
|
Leonardo de Moura
|
e2fa981e89
|
fix(frontends/lean/pp): avoid parentheses around atomic notation
|
2014-10-20 18:08:13 -07:00 |
|
Leonardo de Moura
|
33c4715f4c
|
fix(frontends/lean/pp): suppress unnecessary '[annotation]' marks
|
2014-10-20 11:16:21 -07:00 |
|
Leonardo de Moura
|
4d4bc0551f
|
feat(frontends/lean/pp): minimize number of spaces when pretty printing notation
|
2014-10-19 13:08:15 -07:00 |
|
Leonardo de Moura
|
ed1afe26bd
|
feat(frontends/lean/pp): support scopedexpr notation in the pretty printer
|
2014-10-19 12:50:40 -07:00 |
|
Leonardo de Moura
|
f63d47fef3
|
feat(frontends/lean/pp): support foldl/foldr notation in the pretty printer
|
2014-10-19 11:16:24 -07:00 |
|
Leonardo de Moura
|
100b3abf1d
|
fix(frontends/lean/pp): bug in notation matching procedure
|
2014-10-19 10:48:41 -07:00 |
|
Leonardo de Moura
|
d7cc7cbd8c
|
refactor(frontends/lean/pp): remove 'reverse' hack
|
2014-10-19 09:56:18 -07:00 |
|
Leonardo de Moura
|
eef1cc4ac2
|
fix(frontends/lean/pp): implicit arguments in notation
|
2014-10-19 09:04:43 -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
|
a26618e0f2
|
feat(frontends/lean): add '[]' notation for marking arguments where class-instance resolution should be applied
|
2014-10-12 13:06:00 -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
|
6bf905aea8
|
fix(frontends/lean/pp): do not invoke type checker on expressions
containing free variables.
This could happened when the pretty printer was used from Lua to print
nested subterms
|
2014-09-26 09:38:36 -07:00 |
|
Leonardo de Moura
|
da481c3274
|
refactor(kernel): explicit initialization/finalization
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-24 10:12:28 -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
|
970ad72bc3
|
fix(frontends/lean/pp): protect pretty printer from exceptions
|
2014-09-18 16:21:20 -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 |
|
Leonardo de Moura
|
4088cdc139
|
chore(frontend/lean/pp_options): use consistent name convention for pp option names
|
2014-09-09 09:27:26 -07:00 |
|
Leonardo de Moura
|
b4793df653
|
feat(frontends/lean): rename '[fact]' to '[visible]'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-08 07:47:42 -07:00 |
|
Leonardo de Moura
|
40cd50b1ca
|
fix(frontends/lean/pp): add necessary '@' when pp.implicit is true, otherwise produced output will not even type check
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-02 17:11:26 -07:00 |
|
Leonardo de Moura
|
fc0f12101c
|
fix(frontends/lean/pp): bug when pretty printing arrows
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-02 15:55:14 -07:00 |
|
Leonardo de Moura
|
b9489ce585
|
fix(frontends/let): let-expression pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 10:58:27 -07:00 |
|
Leonardo de Moura
|
d8548369e7
|
feat(frontends/lean/pp): improve let-expr pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 07:46:58 -07:00 |
|
Leonardo de Moura
|
2ce92feae1
|
fix(frontends/lean/pp): remove unreachable code: elaborator eliminates typed_expr macros
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 18:30:33 -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
|
1e80a9dfe9
|
feat(frontends/lean): avoid exponential blowup when processing let-expressions with a lot of sharing, cleanup show-expression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-28 16:27:52 -07:00 |
|
Leonardo de Moura
|
fbf13994d8
|
refactor(*): use + for concatenating format objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-24 09:35:25 -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
|
9588336c15
|
refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
28b7d87f1f
|
feat(frontends/lean/pp): pretty print numerals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 09:12:22 -07:00 |
|
Leonardo de Moura
|
955d7d2659
|
fix(library/aliases): namespace and constant have the same name, and 'using' produces the 'empty' alias
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 08:32:21 -07:00 |
|
Leonardo de Moura
|
ba98634a7a
|
feat(frontends/lean/pp): do not display metavariable arguments by default, add option pp.metavar_args to control whether they are displayed or not
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-31 16:46:16 -07:00 |
|
Leonardo de Moura
|
6e135832d8
|
feat(frontends/lean/pp): pretty print '@' explict operator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-29 14:26:27 -07:00 |
|
Leonardo de Moura
|
864fdd37da
|
refactor(library/aliases): aliases are from name to names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-27 21:01:59 -07:00 |
|
Leonardo de Moura
|
83d38674c9
|
feat(kernel/error_msgs): improve cryptic type mismatch error messages where the types may seem identical because key information is being suppressed
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-27 09:41:25 -07:00 |
|
Leonardo de Moura
|
0cdd4a267c
|
feat(frontends/lean/pp): pretty print 'show' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-26 21:56:35 -07:00 |
|
Leonardo de Moura
|
60cc9ac8e2
|
feat(frontends/lean/pp): pretty print 'have' expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-26 21:35:26 -07:00 |
|
Leonardo de Moura
|
cf35c07786
|
fix(frontends/lean): fix 'let' annotation placement and pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-26 21:00:22 -07:00 |
|
Leonardo de Moura
|
811f46e97b
|
feat(frontends/lean/pp): add option for displaying internal names associated with private declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 11:03:54 -07:00 |
|
Leonardo de Moura
|
0c668a31fe
|
fix(frontends/lean/pp): display private 'internal' names in a human readable way
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 10:58:13 -07:00 |
|
Leonardo de Moura
|
022a151cf7
|
feat(kernel): add general purpose 'annotations', they are just a generalization of the 'let'-annotations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 09:33:31 -07:00 |
|
Leonardo de Moura
|
736b219e65
|
fix(frontends/lean/elaborator): pretty print placeholders as '_'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 08:46:03 -07:00 |
|
Leonardo de Moura
|
e7c7d5718a
|
fix(frontends/lean/pp): fix bug in the pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 08:30:30 -07:00 |
|
Leonardo de Moura
|
5eaf04518b
|
refactor(*): rename Bool to Prop
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 09:43:18 -07:00 |
|