Leonardo de Moura
|
c4ad3a2390
|
refactor: ParserContextCore and ParserContext
|
2020-01-08 14:20:53 -08:00 |
|
Leonardo de Moura
|
b774ed1505
|
fix: update tokens
|
2020-01-08 08:28:15 -08:00 |
|
Leonardo de Moura
|
139d6c64e6
|
feat: add new_frontend command
cc @kha
|
2020-01-06 20:44:53 -08:00 |
|
Sebastian Ullrich
|
bece6f7a32
|
feat: command quotations
|
2020-01-06 10:09:26 -08:00 |
|
Leonardo de Moura
|
0231841984
|
feat: applyAttributes
|
2020-01-05 16:22:46 -08:00 |
|
Leonardo de Moura
|
54fd9a2e4a
|
chore: naming convention
|
2020-01-03 12:12:45 -08:00 |
|
Leonardo de Moura
|
3f51857275
|
feat: add where syntax
|
2020-01-02 14:55:18 -08:00 |
|
Leonardo de Moura
|
1d4ef0eff5
|
feat: register new syntax node kinds
|
2019-12-31 16:50:04 -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
|
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
|
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
|
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
|
a1f079227b
|
chore: prepare to move ParserKind
|
2019-12-30 22:11:49 -08:00 |
|
Sebastian Ullrich
|
881e3bf490
|
fix: raise precedence inside antiquotation parser
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
81381d5c77
|
feat: make all antiquotation kinds optional
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
8ebe0cb94f
|
feat: fieldIdx antiquotation
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
f130a82cd9
|
fix: FirstTokens computation of <|>
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
1f2040727c
|
feat: autogenerate antiquotations in parser!
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
1a7cd0e54d
|
feat: support ident antiquotations (inside term parsers, for now)
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
b32038862e
|
feat: allow antiquotation kinds to be optional, where unambiguous
|
2019-12-30 08:24:29 -08:00 |
|
Sebastian Ullrich
|
9bf8c96502
|
feat: save original node kind in antiquot node kind for checking in match_syntax
|
2019-12-30 08:24:29 -08:00 |
|
Leonardo de Moura
|
d53c5a31cb
|
refactor: use PersistentArray to implement MessageLog
Motivation: consistency. Now, Traces and MessageLog use the same datastructure.
|
2019-12-22 08:11:20 -08:00 |
|
Leonardo de Moura
|
e221a239f8
|
feat: $. notation
|
2019-12-19 14:03:27 -08:00 |
|
Leonardo de Moura
|
f334e7e89c
|
chore: cleanup and remove Array.getA
|
2019-12-19 07:09:51 -08:00 |
|
Leonardo de Moura
|
a3ae2aabb2
|
chore: use new antiquotation notation
|
2019-12-17 15:30:17 -08:00 |
|
Leonardo de Moura
|
37b2393479
|
chore: change antiquotation symbol
|
2019-12-17 15:24:12 -08:00 |
|
Leonardo de Moura
|
f09e2ab069
|
feat: elabParen using match_syntax
|
2019-12-17 14:55:40 -08:00 |
|
Sebastian Ullrich
|
f7a12ab132
|
doc: Hygiene.lean
|
2019-12-17 12:16:34 -08:00 |
|
Sebastian Ullrich
|
71f569e9b9
|
feat: implement antiquotation kinds %%e:k and splices %%e*
|
2019-12-17 12:16:34 -08:00 |
|
Leonardo de Moura
|
964f30deb7
|
feat: proper nodes for str, num and char
|
2019-12-16 10:28:27 -08:00 |
|
Leonardo de Moura
|
248cc2ec3a
|
chore: naming convention
|
2019-12-15 07:48:42 -08:00 |
|
Leonardo de Moura
|
e7d818fe61
|
chore: add workaround for attribute parsing infrastructure
|
2019-12-11 16:26:34 -08:00 |
|
Leonardo de Moura
|
ef82c327eb
|
fix: List notation
|
2019-12-11 10:49:06 -08:00 |
|
Leonardo de Moura
|
e0f91409b1
|
fix: mark choice as valid SyntaxNodeKind
|
2019-12-11 06:19:12 -08:00 |
|
Leonardo de Moura
|
c3005671f5
|
chore: avoid ^do ...
|
2019-12-11 06:19:12 -08:00 |
|
Sebastian Ullrich
|
11f04c9397
|
feat: syntax quotation parsers
|
2019-12-10 22:02:39 +01:00 |
|
Leonardo de Moura
|
9716208a90
|
feat: elaborate list notation
|
2019-12-09 17:09:23 -08:00 |
|
Leonardo de Moura
|
fd141d152b
|
fix: ensure binderType has an uniform representation
|
2019-12-09 16:47:24 -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
|
68e18937b2
|
chore: remove #preterm
|
2019-12-05 11:38:53 -08:00 |
|
Leonardo de Moura
|
cc5a3cca29
|
chore: move helper modules to src/Init/Lean/Util
|
2019-12-04 17:17:34 -08:00 |
|