Leonardo de Moura
19d7050847
chore: remove Lean.Name.Name.beq
2020-10-22 16:30:02 -07:00
Leonardo de Moura
311265d833
fix: Name.beq primitive name
...
@Kha I cannot change the name is one step. The problem is that stage0
contains only the function `l_Lean_Name_Name_beq___boxed`.
So, I have to add a function with the new name, update stage0, and
then delete the old one. Otherwise, the build breaks because
the interpreter will fail when we try to test whether two names are
equal or not. The summary is: we cannot change the Lean name for a
primitive in one step because it changes the name of the auxiliary
"boxed" definition used by the interpreter.
2020-10-22 16:30:02 -07:00
Leonardo de Moura
4f6538fa9f
fix: extern detection
2020-10-22 16:30:02 -07:00
Sebastian Ullrich
7964b727e5
chore: improve error message
2020-10-22 21:40:58 +02:00
Leonardo de Moura
85c955d77f
feat: improve ▸ notation
2020-10-22 10:35:45 -07:00
Leonardo de Moura
34945dfc1c
feat: elaborate ▸ notation
2020-10-22 10:20:23 -07:00
Leonardo de Moura
417336ad2f
feat: allow .. in non-pattern applications
2020-10-22 08:56:10 -07:00
Leonardo de Moura
a2de86f0e2
chore: cleanup
2020-10-22 08:35:51 -07:00
Leonardo de Moura
af968c60e6
chore: cleanup
2020-10-22 07:32:23 -07:00
Leonardo de Moura
4efad86fa5
chore: cleanup
2020-10-22 07:26:13 -07:00
Leonardo de Moura
2a393cd4ab
chore: remove workaround
2020-10-22 07:06:09 -07:00
Leonardo de Moura
2041277cae
fix: field default value with implicit type
2020-10-22 07:02:40 -07:00
Leonardo de Moura
427936fa63
chore: move to new frontend
2020-10-22 07:02:40 -07:00
Sebastian Ullrich
c32f843efc
fix: profiling from the new frontend; use trace out for the time being
2020-10-22 16:00:03 +02:00
Sebastian Ullrich
997365b622
chore: remove lone #check
2020-10-22 15:58:53 +02:00
Sebastian Ullrich
7f8d6b803f
feat: interpolatedStr pretty printer
2020-10-22 15:01:53 +02:00
Sebastian Ullrich
ecece59cc3
fix: tracing the compiler from the new frontend
2020-10-22 14:50:26 +02:00
Sebastian Ullrich
b562cb8a2a
fix: exception while tracing in the old frontend
2020-10-22 14:50:26 +02:00
Sebastian Ullrich
b77a2de10d
perf: must inline basic coercions
2020-10-22 14:26:51 +02:00
Leonardo de Moura
e899dc5e16
chore: remove workaround
2020-10-22 05:16:48 -07:00
Leonardo de Moura
8b146ffe14
feat: expand uminus notation
2020-10-22 05:07:05 -07:00
Leonardo de Moura
fc323b5aaa
chore: remove workaround
2020-10-22 04:42:59 -07:00
Leonardo de Moura
6ca1768957
fix: optional := in the structure command
2020-10-22 04:39:20 -07:00
Sebastian Ullrich
ce96fab8de
chore: fix passing additional LEAN(C)_OPTS to make
2020-10-22 12:00:39 +02:00
Sebastian Ullrich
4e74e36331
feat: run initializers on import
...
Also, refuse to evaluate an `[init]` decl in the same module (since we don't know whether the initialization is
backtrackable) and always use native symbol of a `[builtinInit]` decl
2020-10-22 11:59:55 +02:00
Sebastian Ullrich
6ed395a131
feat: ParametricAttributeImpl.afterImport
2020-10-22 11:59:55 +02:00
Sebastian Ullrich
4e8f4fcaef
refactor: extract AttributeImplCore, introduce ParametricAttributeImpl
2020-10-22 11:59:55 +02:00
Sebastian Ullrich
86fe95898d
fix: don't try to interpret [builtinInit] constants
2020-10-22 11:59:55 +02:00
Leonardo de Moura
82ee2e361b
chore: cleanup
2020-10-21 18:43:47 -07:00
Leonardo de Moura
ea829b75c0
chore: remove coercions for old frontend
2020-10-21 17:37:35 -07:00
Leonardo de Moura
943687ad09
chore: move to new frontend
...
@Kha all files at `src/Lean` and `src/Std` have been moved to the new
frontend :)
Next target `src/Init`
2020-10-21 17:31:25 -07:00
Leonardo de Moura
d5612320d7
chore: move to new frontend
2020-10-21 17:12:56 -07:00
Leonardo de Moura
0c89dca20e
chore: move to new frontend
2020-10-21 17:09:24 -07:00
Leonardo de Moura
b555307f06
chore: move to new frontend
2020-10-21 16:35:50 -07:00
Leonardo de Moura
21e6ae645a
chore: move to new frontend
2020-10-21 15:14:13 -07:00
Leonardo de Moura
8abbf7634d
chore: move to new frontend
2020-10-21 14:16:41 -07:00
Leonardo de Moura
7111eb4d79
chore: move to new frontend
2020-10-21 13:30:43 -07:00
Leonardo de Moura
24d41b9518
chore: move to new frontend
2020-10-21 12:16:30 -07:00
Leonardo de Moura
cb66295149
chore: cleanup
2020-10-21 11:34:44 -07:00
Leonardo de Moura
d25ec3417b
chore: remove some [inline] and [specialize] annotations from Parser/Basic
2020-10-21 11:27:18 -07:00
Leonardo de Moura
93a8bb737f
chore: cleanup
2020-10-21 11:07:18 -07:00
Leonardo de Moura
d640105dcc
chore: cleanup
2020-10-21 11:02:01 -07:00
Leonardo de Moura
e5c17463c5
chore: move to new frontend
2020-10-21 10:06:53 -07:00
Leonardo de Moura
1af6f14fa8
chore: move to new frontend
2020-10-21 09:17:02 -07:00
Leonardo de Moura
7966856b32
chore: move to new frontend
2020-10-21 09:13:55 -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
4f109e23c2
feat: return syntax object representing the whole file
2020-10-21 07:55:59 -07:00
Sebastian Ullrich
5351bffb99
chore: revert obsolete workaround
2020-10-21 11:21:56 +02:00
Sebastian Ullrich
b06f8311e8
fix: avoid using native code during bootstrap
2020-10-21 11:21:56 +02:00