Commit Graph

11 Commits

Author SHA1 Message Date
Dave Halter
b1b165c21e Actually pass the tests again with removed remove_last_newline. 2017-06-01 18:29:52 +02:00
Dave Halter
814b16cc6c Remove the remove_newline hack and build that stuff into error recovery instead.
Tests are passing except for diff parser tests.
2017-05-31 21:24:24 +02:00
Dave Halter
6283577bc3 Actually implement the load_grammar properly. 2017-05-25 16:45:29 -04:00
Dave Halter
333046c253 load_python_grammar -> load_grammar. 2017-05-25 13:28:24 -04:00
Dave Halter
f2c257d7dd Move the utility function parse to the __init__ script. 2017-05-24 00:08:58 -04:00
Dave Halter
7d3438c94d Move the parse function to the grammar. 2017-05-22 14:06:40 -04:00
Dave Halter
23d1470618 Add a more API focused grammar.
This makes it so we don't have to expose all the details of a pgen grammar to the user.
2017-05-21 17:02:15 -04:00
Dave Halter
9b4bd34425 Use normal functions for some more tests. 2017-05-19 10:18:04 -04:00
Dave Halter
c1010008af Refactor code to allow only keyword-only arguments to the main function. 2017-05-18 17:16:42 -04:00
Dave Halter
206dfd113b Use jedi less in the tests. 2017-05-15 13:53:30 -04:00
Dave Halter
7445c303e3 A test suite imported from jedi. 2017-05-11 09:43:37 -04:00