Dave Halter
c4906e0e3f
Rework the parser so we can use arbitrary start nodes of the syntax.
...
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
e6b9111749
Python 2.7 compatibility.
2015-01-13 02:12:49 +01:00
Dave Halter
d8067a7286
Small test corrections.
2014-12-11 04:44:27 +01:00
Dave Halter
00454daf57
change the new parser tests
2014-11-06 14:16:17 +01:00
Dave Halter
05fd7f992e
Don't use the fast parser at the moment. It's more important for now to even get a parser working.
2014-10-09 14:36:52 +02:00
Dave Halter
aa75140f96
Remove old base class for Nodes.
2014-10-09 13:33:42 +02:00
Dave Halter
92ee2a912e
Actually get the first few written tests passing.
2014-10-09 13:21:30 +02:00
Dave Halter
68d23840bb
Start actual testing of the new parser.
2014-10-09 13:16:28 +02:00
Dave Halter
140320143a
Remove the old Leave class.
2014-10-09 11:02:03 +02:00
Dave Halter
c7c222daab
Implement WhiteSpace as well and merge with pytree.
2014-10-09 10:55:03 +02:00
Dave Halter
6bb88ddd85
Function is starting to work.
2014-10-08 17:58:02 +02:00
Dave Halter
834172a3e9
Add a new parser, check it pgen2 would work. (already modified outside this repository)
2014-10-08 14:26:52 +02:00