Mario Carneiro
|
603b7486e3
|
feat: add go-to-def for simple attributes
|
2022-07-31 16:36:54 +02:00 |
|
Leonardo de Moura
|
3896244c55
|
chore: cleanup
|
2022-07-25 22:39:56 -07:00 |
|
Leonardo de Moura
|
f19b122ab1
|
feat: add support for "jump-to-definition" at [implementedBy] attribute
see #1350
|
2022-07-25 12:06:55 -07:00 |
|
Leonardo de Moura
|
f1f5a4b39e
|
chore: naming convention
|
2022-07-24 17:44:29 -07:00 |
|
Leonardo de Moura
|
8de798c4a6
|
feat: reject [macroInline] declarations in recursive declarations
closes #1363
|
2022-07-24 07:26:35 -07:00 |
|
Mario Carneiro
|
f6211b1a74
|
chore: convert doc/mod comments from /- to /--//-! (#1354)
|
2022-07-22 12:05:31 -07:00 |
|
Gabriel Ebner
|
a8cab84735
|
refactor: use computed fields for Expr
|
2022-07-11 14:19:41 -07:00 |
|
Gabriel Ebner
|
eba400543d
|
refactor: use computed fields for Name
|
2022-07-11 14:19:41 -07:00 |
|
Gabriel Ebner
|
b48061ed23
|
feat: expose lower level compile function
|
2022-07-11 12:26:53 -07:00 |
|
Leonardo de Moura
|
e4b358a01e
|
refactor: prepare to elaborate a[i] notation using typeclasses
|
2022-07-09 15:24:22 -07:00 |
|
Leonardo de Moura
|
2ebcf29cde
|
chore: use a[i]! for array accesses that may panic
|
2022-07-02 15:12:05 -07:00 |
|
Leonardo de Moura
|
f6d1e48cb8
|
fix: constant => opaque issues
|
2022-06-14 17:19:54 -07:00 |
|
Leonardo de Moura
|
02c4e548df
|
feat: replace constant with opaque
|
2022-06-14 17:02:59 -07:00 |
|
Leonardo de Moura
|
77ae79be46
|
chore: use let/if in do blocks
|
2022-06-13 17:10:14 -07:00 |
|
Leonardo de Moura
|
041827bed5
|
chore: unused variables
|
2022-06-07 17:54:10 -07:00 |
|
Sebastian Ullrich
|
f9e2a65f75
|
chore: further cleanup
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
|
2022-06-07 16:37:45 -07:00 |
|
Sebastian Ullrich
|
8eefbf5227
|
chore: further clean up refactored code
|
2022-06-07 16:37:45 -07:00 |
|
Sebastian Ullrich
|
fb2a2b3de2
|
fix: fixup previous commit
|
2022-06-07 16:37:45 -07:00 |
|
Sebastian Ullrich
|
ae7b895f7a
|
refactor: unname some unused variables
|
2022-06-07 16:37:45 -07:00 |
|
Leonardo de Moura
|
0631c90794
|
feat: implement MonadLog at CoreM
|
2022-05-31 17:40:55 -07:00 |
|
Sebastian Ullrich
|
eb170d1f43
|
fix: compiled string literals containing null bytes
|
2022-05-17 09:24:34 -07:00 |
|
Leonardo de Moura
|
c65537aea5
|
feat: Option is a Monad again
TODO: remove `OptionM` after update stage0
see: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Do.20we.20still.20need.20OptionM.3F/near/279761084
|
2022-05-04 15:27:42 -07:00 |
|
Leonardo de Moura
|
94abfdba6c
|
feat: improve implementedBy errors, and relax type matching test
|
2022-05-02 08:48:15 -07:00 |
|
Leonardo de Moura
|
a57403be6e
|
feat: add hasCSimpAttribute
|
2022-04-15 09:44:50 -07:00 |
|
Leonardo de Moura
|
de2e2447d2
|
chore: style
|
2022-04-07 17:35:05 -07:00 |
|
Sebastian Ullrich
|
4a9bc88a4e
|
chore: fix USE_GMP=OFF by removing GMP linking customization
|
2022-03-26 16:29:52 +01:00 |
|
Leonardo de Moura
|
85a1a5233b
|
chore: workaround for compiler closed term extraction issue
|
2022-03-01 09:01:08 -08:00 |
|
Leonardo de Moura
|
5948003601
|
feat: add support for constant folding Nat.beq, Nat.blt, and Nat.ble
|
2022-03-01 09:01:08 -08:00 |
|
Leonardo de Moura
|
4ed5c8405b
|
feat: improve IR checker error messages
|
2022-02-17 09:51:05 -08:00 |
|
Leonardo de Moura
|
4ba1e0ad4b
|
feat: add isNoncomputable function for querying whether a given declaration has been marked as "noncomputable" by users
|
2022-02-16 13:20:31 -08:00 |
|
Leonardo de Moura
|
cf3b8d4eb4
|
chore: cleanup
Make the code style more uniform.
We still have a lot of leftovers from the old frontend.
|
2022-01-26 09:18:17 -08:00 |
|
Sebastian Ullrich
|
f0f26728ed
|
doc: more about initializers
|
2022-01-20 18:55:57 +01:00 |
|
Sebastian Ullrich
|
c59f7a55cf
|
fix: initialize precompiled modules
|
2022-01-20 18:55:57 +01:00 |
|
Leonardo de Moura
|
9d05023325
|
chore: remove some [specialize] annotations
|
2022-01-18 09:24:06 -08:00 |
|
Leonardo de Moura
|
bac91b9b5b
|
chore: remove arbitrary
|
2022-01-15 12:14:27 -08:00 |
|
Leonardo de Moura
|
b22a3a4cc4
|
feat: skip code generation for declarations marked with implementedBy, init, and builtinInit
This is a bit hackish. We should clean up when we rewrite the compiler
in Lean.
|
2022-01-14 19:20:16 -08:00 |
|
Leonardo de Moura
|
b9f7d1defb
|
fix: constant folding after erasure
closes #909
|
2022-01-03 10:33:07 -08:00 |
|
Leonardo de Moura
|
0e479d1f9f
|
chore: use double ticks
|
2022-01-03 10:30:05 -08:00 |
|
Sebastian Ullrich
|
ba83721109
|
chore: add comment for previous fix
|
2021-12-15 20:10:48 +01:00 |
|
Sebastian Ullrich
|
3c9ea3b113
|
fix: wait on tasks before Lean program exit
|
2021-12-15 15:58:24 +01:00 |
|
Leonardo de Moura
|
68bd55af32
|
chore: fix codebase
|
2021-12-10 13:12:09 -08:00 |
|
Sebastian Ullrich
|
8176084dcf
|
refactor: factor out declareBuiltin
|
2021-11-26 17:13:19 +01:00 |
|
Sebastian Ullrich
|
12306ba401
|
fix: -lgmp should come last
|
2021-11-23 13:07:05 +01:00 |
|
Sebastian Ullrich
|
6e9574045a
|
feat: expose C & linker flags as API
|
2021-11-20 11:04:39 +01:00 |
|
Leonardo de Moura
|
48a40c4d0a
|
fix: quoteString at EmitC.lean
Fix issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Incorrect.20escaping.20of.20.5Cr.20.3F/near/257061704
|
2021-10-11 06:16:56 -07:00 |
|
Leonardo de Moura
|
8ec9fda6c4
|
fix: improve widening operator used at the ElimDeadBranches abstract interpreter
|
2021-10-06 12:54:07 -07:00 |
|
Sebastian Ullrich
|
35ffae6f54
|
feat: Windows: explicitly export Lean functions only
|
2021-09-20 18:41:46 +02:00 |
|
Leonardo de Moura
|
445cc3085f
|
refactor: avoid Name, MVarId, and FVarId confusion
|
2021-09-07 19:06:50 -07:00 |
|
Leonardo de Moura
|
53ec43ff9b
|
refactor: lazy evaluation for >>, <*>, <*, and *>
see issue: #617
|
2021-09-07 17:50:34 -07:00 |
|
Leonardo de Moura
|
71e0ff40c2
|
feat: add basic support for csimp
|
2021-08-21 11:58:51 -07:00 |
|