Commit graph

19268 commits

Author SHA1 Message Date
Leonardo de Moura
d9ca2751c2 chore: mark MutQuot.val as [neverExtract] 2020-02-07 11:44:51 -08:00
Sebastian Ullrich
354439dd43 chore: bench C++ lines 2020-02-07 17:14:27 +01:00
Sebastian Ullrich
6cbb6c89ca chore: bench .olean byte size 2020-02-07 17:09:25 +01:00
Leonardo de Moura
a897f7e7f3 chore: style nonsense 2020-02-06 17:06:36 -08:00
Leonardo de Moura
7aef068e49 chore: update stage0 2020-02-06 17:03:51 -08:00
Leonardo de Moura
224fe05d51 feat: reset memory 2020-02-06 16:56:25 -08:00
Leonardo de Moura
9135671168 chore: update stage0 2020-02-06 16:40:09 -08:00
Leonardo de Moura
469562d524 feat: maximize sharing at compact 2020-02-06 16:39:20 -08:00
Leonardo de Moura
9eef6851be chore: track number of objects 2020-02-06 14:58:20 -08:00
Leonardo de Moura
3c5b3cd91f feat: add Expr.replace helper function 2020-02-06 14:03:54 -08:00
Leonardo de Moura
193e1cb81a feat: add MutSquash and MutSquash.liftUpdate
cc @cipher1024
2020-02-06 11:55:59 -08:00
Leonardo de Moura
1a0034d557 chore: update stage0 2020-02-06 10:12:37 -08:00
Leonardo de Moura
7e959f8393 chore: try to control code explosion
@Kha We got 100k extra lines of code in the last update stage0
2020-02-06 10:10:10 -08:00
Leonardo de Moura
1885e39d83 chore: update stage0 2020-02-06 09:38:25 -08:00
Sebastian Ullrich
47f3d54acb fix: interpreter: do not consume values in explicit unbox instructions 2020-02-06 09:36:19 -08:00
Leonardo de Moura
9ccb511a99 chore: update stage0 2020-02-06 08:20:48 -08:00
Leonardo de Moura
9270fa5ad8 chore: add [inline] to make sure we do not allocate a closure
cc @kha
2020-02-06 08:15:39 -08:00
Sebastian Ullrich
933ff6dc88 perf: short-circuit all antiquotation parsers 2020-02-06 08:12:08 -08:00
Leonardo de Moura
fb1c60c04a feat: add mkCtorHeader 2020-02-05 19:15:36 -08:00
Leonardo de Moura
3f4c27efa5 feat: add getFieldViews 2020-02-05 19:15:05 -08:00
Leonardo de Moura
86891a83e0 feat: add expandNumLitFields 2020-02-05 14:53:02 -08:00
Leonardo de Moura
8c6806037c refactor: add helper combinator 2020-02-05 14:32:32 -08:00
Leonardo de Moura
69d8809ff5 chore: allow numLit 2020-02-05 14:32:11 -08:00
Leonardo de Moura
93cfdf264f feat: add expandCompositeFields 2020-02-05 13:47:43 -08:00
Leonardo de Moura
c3715bb5a0 feat: add expandParentFields 2020-02-05 13:07:14 -08:00
Leonardo de Moura
772fa06461 doc: add workarounds, and describe what we need in the new equation compiler
@dselsam The good news is that the problem is fixable.
I included a workaround `mergeCongr3` for avoiding the overhead in the current system.
2020-02-05 11:46:35 -08:00
Daniel Selsam
707a1a7e8c doc: elabissue for equation compiler perf 2020-02-05 10:41:44 -08:00
Leonardo de Moura
a763225c52 chore: update stage0 2020-02-05 10:22:58 -08:00
Leonardo de Moura
9169a975f8 perf: improve peekToken performance
`peekToken` is invoked 3 times in sequence whenever we use
`categoryParser`.

1- `currLbp` at `prattParser`
2- check `$` at `leadingParser`
3- `indexed`

@Kha It improved the performance by 10% on my machine.
2020-02-05 09:58:34 -08:00
Leonardo de Moura
5ff62ebf06 feat: check user given path 2020-02-05 09:42:26 -08:00
Leonardo de Moura
9993eb9b2b fix: increase scope of try
Motivation: avoid "libc++abi.dylib: terminating with uncaught
exception of type lean::exception ..."
2020-02-05 09:27:54 -08:00
Leonardo de Moura
660571ab38 fix: closes #109
Fixed myself after wasting time wondering whether a segfault was
coming from today.

cc @cipher1024
2020-02-05 09:16:33 -08:00
Leonardo de Moura
92d8688880 chore: update stage0 2020-02-04 17:49:56 -08:00
Leonardo de Moura
eacff1a448 feat: implement withPtrEq and withPtrAddr 2020-02-04 17:48:11 -08:00
Leonardo de Moura
38e6961003 feat: MutQuot by implementedBy 2020-02-04 16:51:08 -08:00
Leonardo de Moura
13aec48069 chore: update stage0 2020-02-04 16:02:00 -08:00
Leonardo de Moura
ac88b46299 feat: MutQuot primitives 2020-02-04 15:56:20 -08:00
Leonardo de Moura
850b1c90a0 feat: mark as irrelevant functions that return types 2020-02-04 15:55:21 -08:00
Leonardo de Moura
6f4dd5441e chore: disable test on windows 2020-02-04 14:21:38 -08:00
Leonardo de Moura
362185147e chore: remove unncessary annotation 2020-02-04 14:21:26 -08:00
Leonardo de Moura
b5eb64da3a fix: add mkFilePath and try to fix Windows build 2020-02-04 11:24:33 -08:00
Leonardo de Moura
d02ff42ade chore: update stage0 2020-02-04 10:47:02 -08:00
Leonardo de Moura
3a9f6e4133 perf: avoid closure allocations and orelse when next token is not "$" 2020-02-04 10:45:41 -08:00
Leonardo de Moura
48be9094b9 test: add test for parsing Core.lean 2020-02-04 10:15:00 -08:00
Leonardo de Moura
d125966c52 chore: fix tests 2020-02-04 10:14:31 -08:00
Leonardo de Moura
63434fbb7d chore: add parser tests 2020-02-04 10:11:50 -08:00
Leonardo de Moura
01cc87b326 chore: update stage0 2020-02-04 09:52:19 -08:00
Leonardo de Moura
76677049e2 chore: fix precedence of leading tokens 2020-02-04 09:44:43 -08:00
Sebastian Ullrich
52a0a0937e feat: check precedence of leading parsers as well 2020-02-04 07:49:33 -08:00
Leonardo de Moura
c763f72b79 chore: update stage0 2020-02-03 20:25:39 -08:00