next steps for the new parser/grammar
This commit is contained in:
parent
04216fc750
commit
2796121dd7
6 changed files with 286 additions and 266 deletions
12
todo.txt
12
todo.txt
|
|
@ -7,6 +7,18 @@ version 0.9.2
|
|||
- acyclic vs prunable; introduce GC hints
|
||||
- CGEN: ``restrict`` pragma + backend support; computed goto support
|
||||
- document NimMain and check whether it works for threading
|
||||
- parser/grammar: enforce 'simpleExpr' more often --> doesn't work; tkProc is
|
||||
part of primary!
|
||||
* check that of branches can only receive even simpler expressions, don't
|
||||
allow of (var x = 23; nkIdent)
|
||||
* document the new grammar: ^+ ^* operators; indentation handling
|
||||
* remove rules in the manual as it's too hard to keep it up to date
|
||||
* improve rules to contain the AST structure
|
||||
* the typeDesc/expr unification is weird and only necessary because of
|
||||
the ambiguous a[T] construct: It would be easy to support a[expr] for
|
||||
generics but require a[.typeDesc] if that's required; this would also
|
||||
allow [.ref T.](x) for a more general type conversion construct; for
|
||||
templates that would work too: T([.ref int])
|
||||
|
||||
|
||||
Bugs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue