Daniel Selsam
91f97fb0d9
fix: typos in SynthInstance.lean
2020-01-03 10:29:01 -08:00
Leonardo de Moura
e949a052ba
feat: elaborate where
2020-01-02 15:01:26 -08:00
Leonardo de Moura
6825938dec
chore: update stage0
2020-01-02 14:56:40 -08:00
Leonardo de Moura
3f51857275
feat: add where syntax
2020-01-02 14:55:18 -08:00
Leonardo de Moura
16aff9a182
feat: elaborate have
2020-01-02 14:16:20 -08:00
Leonardo de Moura
04a0907954
feat: add throwUnexpectedSyntax
...
@kha From now on, let's use `throwUnexpectedSyntax` instead of `unreachable!` at
`match_syntax`. The `unreachable!` makes sense when the syntax was
created by our parser, but ill-formed syntax may be created by macros,
and we have no control on how users will create the resulting syntax object.
2020-01-02 13:51:02 -08:00
Leonardo de Moura
9f69991d80
feat: elaborate show notation
2020-01-02 13:30:11 -08:00
Leonardo de Moura
a3675b99e6
feat: add parameter postponeOnError : Bool to synthesizeSyntheticMVarsStep
...
@Kha: I implemented the option 2 I described on Zulip.
2020-01-02 13:13:58 -08:00
Leonardo de Moura
db96b08257
feat: elaborate anonymous constructor
2020-01-02 10:41:04 -08:00
Leonardo de Moura
0ffd1526bd
feat: elaborate subtype
2020-01-02 10:12:19 -08:00
Daniel Selsam
b4e285f91a
fix: dead link in doc
2020-01-02 14:36:14 +01:00
Leonardo de Moura
8f805f5d2f
feat: elaborate if-then-else
2020-01-01 16:12:26 -08:00
Leonardo de Moura
cbe65a068e
fix: addLValArg
2020-01-01 16:02:55 -08:00
Leonardo de Moura
2ca96cb2b0
feat: include macroStack in error messages
2020-01-01 15:19:04 -08:00
Leonardo de Moura
b429794ebc
chore: naming convention
2020-01-01 15:04:20 -08:00
Leonardo de Moura
9d25a45074
feat: elaborate character literals
2020-01-01 14:37:40 -08:00
Leonardo de Moura
434c148800
test: add termElab attribute test
2020-01-01 14:16:49 -08:00
Sebastian Ullrich
2791cdf326
fix: interpreter::call_boxed: support under-application
...
/cc @leodemoura
2020-01-01 21:15:05 +01:00
Leonardo de Moura
d22abd85dd
test: minimal repro for evalConst crash
2020-01-01 11:02:38 -08:00
Leonardo de Moura
61403b556d
chore: update stage0
2020-01-01 11:00:56 -08:00
Leonardo de Moura
6c04a4bcc3
feat: mkElabAttribute
2020-01-01 10:59:29 -08:00
Leonardo de Moura
53042658ec
chore: update stage0
2020-01-01 09:20:02 -08:00
Leonardo de Moura
73e114c6a2
chore: remove unnecessary argument
2020-01-01 09:19:00 -08:00
Leonardo de Moura
d37d02b512
fix: more general instance
2020-01-01 09:16:29 -08:00
Leonardo de Moura
dd4bed3c6f
test: simple termParser attribute test
2019-12-31 17:03:11 -08:00
Leonardo de Moura
2c77ea47de
chore: update stage0
2019-12-31 16:50:43 -08:00
Leonardo de Moura
1d4ef0eff5
feat: register new syntax node kinds
2019-12-31 16:50:04 -08:00
Leonardo de Moura
2a87060ec2
chore: update stage0
2019-12-31 16:38:03 -08:00
Leonardo de Moura
90178dc3d9
feat: add syntaxNodeKindExtension
...
It contains all `SyntaxNodeKind`s registered in the system.
2019-12-31 16:36:50 -08:00
Leonardo de Moura
af5b52092d
feat: register parser extensions tokens
2019-12-31 16:05:14 -08:00
Leonardo de Moura
9e46817b03
chore: update stage0
2019-12-31 13:52:17 -08:00
Leonardo de Moura
b17f822488
fix: mkInitial
2019-12-31 13:51:12 -08:00
Leonardo de Moura
88339be110
refactor: improve initialization
2019-12-31 13:39:36 -08:00
Leonardo de Moura
78c53d8351
feat: implement some TODOs at TokenTableAttribute
2019-12-31 13:24:36 -08:00
Leonardo de Moura
069eb0275c
fix: missing registerAttribute and applicationTime
2019-12-31 12:21:54 -08:00
Leonardo de Moura
b3d3d3c41a
fix: initialization issue
2019-12-31 12:13:30 -08:00
Leonardo de Moura
59c7f75dda
feat: add addParserAttribute
2019-12-31 12:07:58 -08:00
Leonardo de Moura
76ec8fc843
chore: add TODO
2019-12-31 11:57:50 -08:00
Leonardo de Moura
d584f1b24e
feat: add Environment as an extra parameter to addImportedFn
2019-12-31 11:11:37 -08:00
Leonardo de Moura
5a743cddeb
feat: improve registerParserAttribute
2019-12-31 10:49:04 -08:00
Leonardo de Moura
7057d71971
refactor: add new parameter to PersistentEnvExtension
2019-12-31 09:18:40 -08:00
Leonardo de Moura
98a029661c
chore: update stage0
2019-12-30 22:11:50 -08:00
Leonardo de Moura
491028df25
feat: add compileParserDescr
2019-12-30 22:11:49 -08:00
Leonardo de Moura
45075c135d
chore: move ParserKind to LeanExt
2019-12-30 22:11:49 -08:00
Leonardo de Moura
607749e263
chore: update stage0
2019-12-30 22:11:49 -08:00
Leonardo de Moura
a1f079227b
chore: prepare to move ParserKind
2019-12-30 22:11:49 -08:00
Sebastian Ullrich
b439de68a5
feat: support nested interpreter executions and make sure closures are run in compatible environments
...
/cc @leodemoura
2019-12-31 00:07:45 +01:00
Leonardo de Moura
fb86f2e421
feat: add LeanExt.lean and ParserDescr type
2019-12-30 13:51:40 -08:00
Leonardo de Moura
769debf970
fix: is_unsafe
2019-12-30 12:05:28 -08:00
Leonardo de Moura
1a8f79847d
chore: update stage0
2019-12-30 11:55:26 -08:00