Commit graph

79 commits

Author SHA1 Message Date
Sebastian Ullrich
0720334450 feat: make profileit actually usable 2020-10-23 18:34:47 +02:00
Leonardo de Moura
620647f2f1 refactor: simplify MonadCache and generalize instantiateExprMVars 2020-10-22 16:30:06 -07:00
Leonardo de Moura
af968c60e6 chore: cleanup 2020-10-22 07:32:23 -07:00
Leonardo de Moura
4d64edfff3 chore: move to new frontend 2020-10-21 08:51:11 -07:00
Leonardo de Moura
3e9c5e1653 chore: move to new frontend 2020-10-21 08:43:47 -07:00
Leonardo de Moura
6b132a23e9 chore: remove workaround 2020-10-20 15:53:09 -07:00
Leonardo de Moura
6d122eda49 chore: move to new frontend 2020-10-20 15:34:45 -07:00
Leonardo de Moura
93a5a38ba7 chore: move to new frontend 2020-10-20 12:29:49 -07:00
Leonardo de Moura
e53ff26a91 chore: move to new frontend 2020-10-20 12:21:53 -07:00
Leonardo de Moura
ef18b0ab49 chore: use [builtinInit] 2020-10-19 14:58:38 -07:00
Leonardo de Moura
5402ea88a2 feat: add withNestedTraces 2020-10-18 16:31:01 -07:00
Leonardo de Moura
54aeae284a chore: remove workaround 2020-10-17 16:38:26 -07:00
Leonardo de Moura
76be722a79 chore: move to new frontend 2020-10-17 14:12:32 -07:00
Leonardo de Moura
bdb92ce7a4 feat: add throwError! macro and improve trace[..]! macro 2020-10-13 12:32:33 -07:00
Leonardo de Moura
736b2bf8ed chore: remove kind 2020-10-10 07:53:52 -07:00
Leonardo de Moura
446b7dc690 chore: remove workaround 2020-10-10 07:47:28 -07:00
Leonardo de Moura
be252743b3 feat: add string interpolation for MessageData 2020-10-09 20:43:26 -07:00
Sebastian Ullrich
d51101b884 feat: sanitize Syntax in messages
Fixes #182
2020-09-29 07:59:22 -07:00
Sebastian Ullrich
af8dc5eeab feat: pretty print Syntax in messages 2020-09-29 07:59:22 -07:00
Sebastian Ullrich
402d4437c0 chore: fix interactive use of stage 0 2020-09-25 11:22:06 +02:00
Leonardo de Moura
d2ee641e7f chore: restore macro 2020-09-19 19:08:35 -07:00
Leonardo de Moura
9fdef2e4eb fix: commands that expand into syntax 2020-09-19 19:04:21 -07:00
Leonardo de Moura
17d4117637 chore: remove temporary hacks 2020-09-19 14:21:38 -07:00
Leonardo de Moura
25b40b4b89 chore: disable macro 2020-09-19 14:15:24 -07:00
Leonardo de Moura
0e8f8117a1 refactor: simpler mechanism for never backtracking traces
We do backtrack messages but not traces.

cc @Kha
2020-09-18 10:31:42 -07:00
Leonardo de Moura
a28679358e refactor: remove MonadError 2020-09-18 09:58:13 -07:00
Leonardo de Moura
9f5e63cd3c feat: add option pp.macroStack
@Kha I set it to `false` by default.
2020-09-16 15:29:28 -07:00
Leonardo de Moura
e10cd085f4 feat: use sanitizeNames at ppGoal 2020-09-16 13:39:06 -07:00
Leonardo de Moura
0abca5475f refactor: move ppExpr to IO
@Kha I am also tracking `currNamespace` and `openDecls`.

BTW, I also tried an experiment where I added `currNamespace` and
`openDecls` to `Meta.Context`, but it looked weird. This information
is only needed in the elaborator and pretty printer.
The `PPContext` object should contain everything you need. You
can put `currNamespace` and `openDecls` in the `Delaborator.Context`.
2020-09-15 18:48:21 -07:00
Leonardo de Moura
1ce80d5ba7 feat: hide auxiliary declarations 2020-09-15 16:50:16 -07:00
Leonardo de Moura
52d6fbb906 fix: appendTagSuffix operation 2020-09-15 10:46:40 -07:00
Leonardo de Moura
f871c7b552 feat: trace! macro in the new frontend 2020-09-10 15:18:20 -07:00
Leonardo de Moura
1215333e0f chore: use simpMacroScopes at ppGoal 2020-09-09 10:40:38 -07:00
Leonardo de Moura
ecda364985 feat: add Expr.forEach 2020-09-08 13:03:53 -07:00
Leonardo de Moura
2e335bf802 feat: ensure MonadCacheT does not implement MonadState 2020-09-08 11:33:12 -07:00
Leonardo de Moura
ebe2cf272e feat: add MonadCacheT 2020-09-08 10:48:47 -07:00
Leonardo de Moura
56e6b9b398 feat: add Tarjan's SCC 2020-09-06 14:19:59 -07:00
Leonardo de Moura
f34fd3e6b4 refactor: move Closure.lean to Meta
We will need to improve the support for let-decls. We will use
the new `trackZeta`.
2020-09-03 11:54:08 -07:00
Leonardo de Moura
5cc0dd75ec refactor: remove unnecessary abstraction 2020-09-03 10:16:56 -07:00
Leonardo de Moura
238c38fed9 feat: preserve nonDep flag at LocalDecl.ldecl 2020-09-03 09:08:59 -07:00
Leonardo de Moura
e5c35d3a4e feat: add AddMessageDataContext 2020-08-28 18:05:42 -07:00
Leonardo de Moura
99f3296828 refactor: simplify Util/Trace.lean 2020-08-28 17:36:44 -07:00
Leonardo de Moura
26073c428b fix: use MonadFinally 2020-08-28 17:06:40 -07:00
Leonardo de Moura
cc47705691 chore: remove import Init.* 2020-08-28 15:39:08 -07:00
Leonardo de Moura
2287c7e7b3 feat: elaborate #print axioms command 2020-08-28 13:08:42 -07:00
Leonardo de Moura
c4f38c08b2 feat: collectMVars methods 2020-08-27 11:24:03 -07:00
Leonardo de Moura
4495c13e6c fix: extra line 2020-08-27 09:11:04 -07:00
Leonardo de Moura
7db6f420f5 refactor: move mkAuxDefinitionCore 2020-08-26 16:20:09 -07:00
Leonardo de Moura
5d036d0ca3 feat: generalize mkClosure 2020-08-26 14:45:46 -07:00
Leonardo de Moura
1103806ff4 refactor: HasMonadLift ==> MonadLift 2020-08-25 13:54:41 -07:00