Leonardo de Moura
fddeecaaa6
feat: elaborate binders
2019-12-08 17:59:11 -08:00
Leonardo de Moura
984b8f5eba
feat: save trace at MessageLog
2019-12-08 10:18:58 -08:00
Leonardo de Moura
9296bfde3f
feat: add tracingAt
2019-12-08 09:51:51 -08:00
Leonardo de Moura
1352619ee4
refactor: MonadTracer and helper functions
...
This commit adds
- `addContext : MessageData -> m MessageData` method. We need it to
make sure we wrap the message with the current context. Before this
commit I had to redefine `trace` for `MetaM`, `SynthM`, and
`TermElabM`.
- polymorphic `traceM` method.
2019-12-08 09:05:15 -08:00
Leonardo de Moura
f93b675ad4
feat: add tracing support
2019-12-08 08:34:00 -08:00
Leonardo de Moura
713fd29e92
feat: add basic elaborators
2019-12-08 08:33:47 -08:00
Leonardo de Moura
3c6fd1e03f
feat: add runTermElabM
2019-12-08 07:48:40 -08:00
Leonardo de Moura
85a866f5ff
feat: elaborate open command
2019-12-08 07:36:16 -08:00
Leonardo de Moura
4aabd0aa94
feat: add namespace resolution
2019-12-07 17:55:31 -08:00
Leonardo de Moura
efaec02b23
feat: add basic commands
2019-12-07 17:55:31 -08:00
Leonardo de Moura
cf5537bb91
chore: update stage0
2019-12-07 17:55:31 -08:00
Leonardo de Moura
0031769c8b
chore: fix names
2019-12-07 17:55:31 -08:00
Sebastian Ullrich
9482976345
test: speed up some tests for the debug interpreter
2019-12-07 21:51:59 +01:00
Sebastian Ullrich
6195c31a04
chore: remove stdlib_ tests
2019-12-07 21:51:59 +01:00
Sebastian Ullrich
7d0833e05a
chore: extended CI checks
2019-12-07 21:51:59 +01:00
Sebastian Ullrich
e98fdc4db6
chore: check-stage3 target for checking (eventually) deterministic bootstrap
2019-12-07 21:02:13 +01:00
Sebastian Ullrich
3a2e63c040
fix: register_unsigned_option registered a bool option
2019-12-07 20:10:00 +01:00
Leonardo de Moura
145639c45b
feat: add testFrontend and infrastructure
2019-12-07 06:24:22 -08:00
Leonardo de Moura
aa546820a2
chore: update stage0
2019-12-06 15:43:29 -08:00
Leonardo de Moura
2dcf6dd141
feat: add new CommandElabM and TermElabM
2019-12-06 15:42:37 -08:00
Leonardo de Moura
c05559a99d
refactor: cleanup
2019-12-06 14:41:39 -08:00
Leonardo de Moura
b10d751a2f
chore: Elaborator ==> Elab
2019-12-06 13:40:20 -08:00
Leonardo de Moura
92958e8d66
refactor: remove Syntax.other
...
We are going to use synthetic metavariables for postponing elaboration.
2019-12-06 09:23:44 -08:00
Leonardo de Moura
fd20bae8be
chore: disable new elaborator before major refactoring
2019-12-06 09:13:32 -08:00
Leonardo de Moura
68e18937b2
chore: remove #preterm
2019-12-05 11:38:53 -08:00
Leonardo de Moura
59eb963153
chore: missing ,
2019-12-05 11:26:15 -08:00
Leonardo de Moura
2ae92340ef
feat: add intro and assumption
2019-12-05 10:57:48 -08:00
Leonardo de Moura
5b9402f0e3
feat: add Expr.headBeta
2019-12-05 09:01:50 -08:00
Leonardo de Moura
5247c3719b
doc: document private keyword elaboration issues
2019-12-05 08:55:21 -08:00
Leonardo de Moura
a8578b4354
chore: remove old files
2019-12-05 08:24:20 -08:00
Leonardo de Moura
f80ec55149
feat: improve tracing messages
2019-12-05 07:29:01 -08:00
Leonardo de Moura
0f1184e1d6
feat: instantiateMVars when formatting messages
2019-12-05 07:02:28 -08:00
Leonardo de Moura
9715bc7738
fix: missing instantiateMVars
2019-12-05 06:57:50 -08:00
Leonardo de Moura
dd0b71938d
feat: register Meta tracing options
2019-12-05 06:38:28 -08:00
Leonardo de Moura
da844e231a
chore: update stage0
2019-12-05 06:19:18 -08:00
Leonardo de Moura
4fe9179f19
feat: option declarations in Lean
2019-12-05 06:18:35 -08:00
Sebastian Ullrich
3cce06ca78
chore: add tests/plugin/.gitignore
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
948b0bf1f1
fix: interpreter::call_boxed: support over-application
...
MetaHasEval instances were not fully eta-expanded
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
1afd3b9d01
refactor: interpreter::run_main: use call_boxed
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
44ce73ced9
refactor: call generated boxed wrapper instead of reinventing it in the interpreter
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
e3e50b7940
chore: rename confusing interpreter function
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
3e46b8a8a4
test: simplify meta2.lean
2019-12-05 13:21:08 +01:00
Sebastian Ullrich
92380ec5bd
feat: implement MetaHasEval for MetaM
2019-12-05 13:20:24 +01:00
Sebastian Ullrich
fde58d8fe4
feat: add Lean.MetaHasEval, rename HasEval to Lean.HasEval
2019-12-05 13:20:24 +01:00
Leonardo de Moura
3422dbca5f
chore: fix tests
2019-12-04 17:25:46 -08:00
Leonardo de Moura
38861bb87e
chore: update stage0
2019-12-04 17:18:18 -08:00
Leonardo de Moura
cc5a3cca29
chore: move helper modules to src/Init/Lean/Util
2019-12-04 17:17:34 -08:00
Leonardo de Moura
223b136a9e
chore: update stage0
2019-12-04 17:03:42 -08:00
Leonardo de Moura
021fda2d80
chore: fix tests
2019-12-04 17:02:56 -08:00
Leonardo de Moura
f15af1df0a
chore: move Lean auxiliary datatypes to src/Init/Lean/Data
2019-12-04 17:00:13 -08:00