2013-11-14 12:55:02 -08:00
|
|
|
TODO
|
|
|
|
|
====
|
|
|
|
|
|
2014-10-17 23:52:53 -07:00
|
|
|
* Incremental parsing
|
|
|
|
|
* Add randomized editing to all language tests.
|
|
|
|
|
- [ ] inserts
|
|
|
|
|
- [ ] deletes
|
|
|
|
|
- [ ] replaces
|
|
|
|
|
* Verify that tree remains the same after edit is undone.
|
|
|
|
|
* Verify that the tree's total size is as expected after each edit.
|
|
|
|
|
|
|
|
|
|
* Ubiquitous token handling
|
|
|
|
|
* Fix the unintuitive tree that results when ubiquitous tokens are last child
|
|
|
|
|
of their parent node.
|
2014-07-13 21:52:57 -07:00
|
|
|
|
2014-10-08 15:16:40 -07:00
|
|
|
* Error handling
|
|
|
|
|
* Try to minimize size of error node by looking ahead a few tokens
|
2014-07-13 21:52:57 -07:00
|
|
|
|
2014-10-08 15:16:40 -07:00
|
|
|
* Grammar Features
|
|
|
|
|
* Indentation tokens
|
|
|
|
|
* Regexp assertions
|
|
|
|
|
- [ ] '^'
|
|
|
|
|
- [ ] '$'
|
|
|
|
|
- [ ] '\b'
|
|
|
|
|
* Composing languages
|
|
|
|
|
- [ ] Rule for referencing named grammar
|
|
|
|
|
- [ ] Grammar registry object in runtime
|
|
|
|
|
- [ ] Parsing returns control to parent language
|
2014-07-13 21:52:57 -07:00
|
|
|
|
2014-10-17 23:52:53 -07:00
|
|
|
* Performance
|
|
|
|
|
* Optimize grammar compilation
|
|
|
|
|
|
2014-10-08 15:16:40 -07:00
|
|
|
* Grammars
|
|
|
|
|
* C
|
|
|
|
|
* Go
|
|
|
|
|
|
|
|
|
|
* Query API
|
|
|
|
|
* closest(node name)
|
|
|
|
|
* find(node name)
|