Dave Halter
|
b0f340748c
|
So much work for one simple diff fail.
|
2017-01-29 00:42:09 +01:00 |
|
Dave Halter
|
09779c88aa
|
Fix a nasty issue in the tokenizer. Fixes #836.
At the same time there was a related issue of not cleaning up newlines properly.
|
2017-01-24 00:50:37 +01:00 |
|
Dave Halter
|
01b25efea1
|
Use the same function to detect newlines in the diff parser.
|
2017-01-23 09:56:38 +01:00 |
|
Dave Halter
|
194295066a
|
Fix one more issue in the diff parser.
|
2017-01-22 23:44:10 +01:00 |
|
Dave Halter
|
005b24ed54
|
Better handling of the stack.
|
2017-01-21 18:43:54 +01:00 |
|
Dave Halter
|
fe44458ec0
|
Start implementing the node stack.
|
2017-01-16 16:32:49 +01:00 |
|
Dave Halter
|
ad1222e6d7
|
Fix another parser bug.
|
2017-01-12 08:46:58 +01:00 |
|
Dave Halter
|
425fba5e95
|
Move the parser.fast module to parser.diff.
|
2017-01-10 19:15:47 +01:00 |
|
Dave Halter
|
00a9f1ec0a
|
Update the tokenizer to include f literals and underscores. Need tests still.
|
2017-01-08 16:03:45 +01:00 |
|
Dave Halter
|
6d00a5702f
|
If newer versions are using Jedi (e.g. at the moment Python 3.7), it shouldn't just result in a grammar issue, just because that grammar doesn't not exist. Just take the Python 3.6 grammar instead.
|
2017-01-07 15:54:04 +01:00 |
|
Dave Halter
|
ae8e43d3c7
|
Move get_node() to tree_node and replace all the custom classdefs/funcdefs.
|
2017-01-05 23:43:12 +01:00 |
|
Dave Halter
|
375fcd9e66
|
Fix an issue with nested flows in the diff parser.
|
2016-12-31 03:12:56 +01:00 |
|
Dave Halter
|
61c7444185
|
Fix some more issues in the diff parser that caused it to completely crash.
|
2016-12-30 20:13:05 +01:00 |
|
Dave Halter
|
f437ce5ae7
|
Some diff parser refactorings.
|
2016-12-22 09:13:14 +01:00 |
|
Dave Halter
|
90b76ee3ec
|
Fix an issue in the diff parser.
|
2016-12-20 23:32:51 +01:00 |
|
Dave Halter
|
5c52c7fb45
|
Completely remove names_dicts from the diff parser.
|
2016-12-17 17:15:44 +01:00 |
|
Dave Halter
|
75e09baee9
|
Some Python 2 fixes.
|
2016-12-17 16:19:01 +01:00 |
|
Dave Halter
|
c6248ae169
|
Some testing fixes that were broken with the few previous commits.
|
2016-12-06 18:18:53 +01:00 |
|
Dave Halter
|
ee1f077014
|
Some test refactorings.
|
2016-12-03 14:32:00 +01:00 |
|
Dave Halter
|
9b85d5517f
|
Fix more issues in the diff parser.
|
2016-09-27 00:29:11 +02:00 |
|
Dave Halter
|
09a5f27068
|
Add a test for wrong whitespace.
|
2016-09-26 23:56:37 +02:00 |
|
Dave Halter
|
c728148ece
|
Fix an issue with dividing suites and remove a lot of print statements.
|
2016-09-23 17:31:29 +02:00 |
|
Dave Halter
|
6eb3b15e9b
|
Make a test a bit better testable (more flexible).
|
2016-09-21 18:13:18 +02:00 |
|
Dave Halter
|
37e3e79faa
|
Check in the diff tests that the graph is valid.
|
2016-09-19 05:41:59 +02:00 |
|
Dave Halter
|
885cf62a12
|
Remove the position_modifier from the parser.
|
2016-09-18 00:50:31 +02:00 |
|
Dave Halter
|
ed71d05ed7
|
Small test changes.
|
2016-09-15 09:37:35 +02:00 |
|
Dave Halter
|
74058fbf28
|
Finally passing all diff parser tests.
|
2016-09-15 01:26:28 +02:00 |
|
Dave Halter
|
8132055428
|
Fix an issue with parser endings and therefore adapt a few tests.
|
2016-09-14 17:23:49 +02:00 |
|
Dave Halter
|
47028c947a
|
Better debugging and solving a test with for stmts.
|
2016-09-13 20:34:02 +02:00 |
|
Dave Halter
|
2eeafe23f8
|
Use differ for all diff tests.
|
2016-09-12 02:26:29 +02:00 |
|
Dave Halter
|
994e6615b1
|
Ifs in two directions.
|
2016-09-11 22:42:47 +02:00 |
|
Dave Halter
|
dfdda4a2f1
|
Copying an if (and other flows) is now working.
|
2016-09-11 21:51:44 +02:00 |
|
Dave Halter
|
c764976ef2
|
Merge branch 'remove_names_dicts' into diff
|
2016-09-11 13:24:11 +02:00 |
|
Dave Halter
|
1226962922
|
Remove dedents from the parser tree. No need for them.
|
2016-09-11 13:03:29 +02:00 |
|
Dave Halter
|
cc5a2cd219
|
Small changes.
|
2016-09-09 17:38:07 +02:00 |
|
Dave Halter
|
5923765369
|
get_parsed_node should return the right thing.
|
2016-09-08 18:14:13 +02:00 |
|
Dave Halter
|
024a97e59c
|
Better end positions.
|
2016-09-08 09:52:42 +02:00 |
|
Dave Halter
|
91ed1da6f4
|
Better testing.
|
2016-09-08 00:17:54 +02:00 |
|
Dave Halter
|
20b4f6c363
|
Rework the parents when dividing nodes.
|
2016-09-05 18:04:53 +02:00 |
|
Dave Halter
|
00a8b3e4f1
|
Some more tests are passing.
|
2016-09-03 03:06:38 +02:00 |
|
Dave Halter
|
2f6ba2a7ae
|
Split the old fast parser tests.
|
2016-09-02 13:49:44 +02:00 |
|
Dave Halter
|
42e5777620
|
Some progress and bugfixes.
|
2016-08-26 12:47:02 +02:00 |
|
Dave Halter
|
1e5ad467d3
|
Start debugging the beast.
|
2016-08-23 18:24:58 +02:00 |
|
Dave Halter
|
b9040870c0
|
Some ideas for a diff parser.
|
2016-08-14 00:23:40 +02:00 |
|
Dave Halter
|
b5bd8496b0
|
Fix the errors for the old octal tests.
|
2016-07-18 19:28:01 +02:00 |
|
Dave Halter
|
2563746810
|
Fix issues with octals in Python 2 (and possibly 3). Fixes #559.
|
2016-07-17 22:36:26 +02:00 |
|
Dave Halter
|
b1fbc512d8
|
xfail for a fast parser test that I'm not sure what to do with.
|
2016-07-11 17:05:59 +02:00 |
|
Dave Halter
|
72634a94b8
|
Try to use line numbers instead of offsets in the fast parser.
|
2016-07-11 08:56:30 +02:00 |
|
Dave Halter
|
e5f09e1c7d
|
Fix an issue with end_pos of a module.
|
2016-07-08 00:03:52 +02:00 |
|
Dave Halter
|
c499696b60
|
Fix python 2.7 tests.
|
2016-07-07 19:16:01 +02:00 |
|