Dave Halter
|
4549157d39
|
parser.Tree.ForStmt got more utility functions.
|
2015-11-08 22:29:49 +01:00 |
|
Dave Halter
|
dd6ade194a
|
+= assignments bug fix.
|
2015-11-01 13:21:41 +01:00 |
|
Dave Halter
|
05798734bf
|
Fix an issue with the new set of types instead of lists.
This commit also includes some comments and improvements for debugging.
|
2015-10-29 20:53:14 +01:00 |
|
Dave Halter
|
e947124d83
|
Small improvments to the += / for logic.
|
2015-10-15 03:24:21 +02:00 |
|
Dave Halter
|
4b85d342ea
|
Trying to fix issues with for loops and += operators.
|
2015-10-15 03:00:50 +02:00 |
|
Dave Halter
|
62468fb402
|
reversed and for loops now produce strings in the correct order.
|
2015-10-14 16:50:26 +02:00 |
|
Dave Halter
|
844a011193
|
Replacing the types list with a types set. Some tests are failing, though.
|
2015-10-13 18:03:36 +02:00 |
|
Dave Halter
|
3a306a4f25
|
Fix comprehensions type issues.
|
2015-09-22 02:13:20 +02:00 |
|
Dave Halter
|
80492265cf
|
Remove print statements and reenable the if statement scanning that allows names to get resolved in 'if 0:' clauses. Makes all tests work again.
|
2015-07-01 14:00:50 +02:00 |
|
Dave Halter
|
d739828a4b
|
call_of_name was modified. Fixed an issue that was created earlier.
|
2015-07-01 13:58:05 +02:00 |
|
Dave Halter
|
d694ab83a3
|
Memoizing statements doesn't work anymore.
Statements now need to be evaluated at least if predefined_names_dict is set.
|
2015-06-29 13:32:39 +02:00 |
|
Dave Halter
|
db1ed70318
|
Recursions on if statements when using the advanced flow evaluation shouldn't be possible anymore.
|
2015-06-29 12:03:31 +02:00 |
|
Dave Halter
|
64fcbbba79
|
First implementation of doing precise if statement filtering.
|
2015-06-22 22:16:38 +02:00 |
|
Dave Halter
|
b8bb258677
|
Get rid of get_importer and clean up imports in general.
|
2015-04-28 01:41:01 +02:00 |
|
Dave Halter
|
ef4b424cda
|
Replace pr with tree, #566.
|
2015-04-28 01:34:31 +02:00 |
|
Dave Halter
|
d038fba9df
|
er.wrap -> Evaluator.wrap
|
2015-04-23 13:51:42 +02:00 |
|
Dave Halter
|
d04241b482
|
Goto should not include imports that cannot be followed.
|
2015-04-23 02:37:22 +02:00 |
|
Dave Halter
|
df9452f210
|
Trying to change the import logic completely. We now have a sys.modules like cache.
|
2015-04-20 14:47:33 +02:00 |
|
Dave Halter
|
8fca3f78a1
|
Add a py__name__ call to modules. This makes listing the qualified names of modules possible (in combination with the module_name_cache). Fixes #519.
|
2015-04-14 17:36:20 +02:00 |
|
Dave Halter
|
0b531d2b17
|
print in Python 2 shouldn't be a function, it's a keyword (without the future import).
|
2015-03-06 01:01:20 +01:00 |
|
Dave Halter
|
b489019f5b
|
Most integration tests (except 2) pass if we don't always make the use of an ExprStmt.
|
2015-03-05 01:55:25 +01:00 |
|
Dave Halter
|
f273e314b6
|
Preparing for an eventual replacement of using expr_stmt for all nodes.
|
2015-03-05 00:07:50 +01:00 |
|
Dave Halter
|
5322c4a965
|
decorator dotted_names goto lookups.
|
2015-03-02 14:31:12 +01:00 |
|
Dave Halter
|
5a845e4dea
|
Fix a decorator goto issue.
|
2015-03-02 13:23:26 +01:00 |
|
Dave Halter
|
b8a8c4d402
|
Fix an array lookup issue. list.pop calls work now pretty well and return the right type.
|
2015-02-26 13:57:54 +01:00 |
|
Dave Halter
|
47fc3cbdfe
|
Functions are not exceptions anymore in the name finder.
|
2015-01-08 14:14:01 +01:00 |
|
Dave Halter
|
b982b746e7
|
Fix problems with += stmts.
|
2015-01-06 11:24:13 +01:00 |
|
Dave Halter
|
54fcf7af9d
|
Fix goto.
|
2015-01-05 23:55:38 +01:00 |
|
Dave Halter
|
ab9571bccd
|
Remove FakeStatement
|
2014-12-18 03:24:12 +01:00 |
|
Dave Halter
|
b03330c5d7
|
Updating the docs of evaluate/__init__.
|
2014-12-15 16:00:16 +01:00 |
|
Dave Halter
|
5f892d62a6
|
Delete legacy code from evaluate.
|
2014-12-15 15:34:15 +01:00 |
|
Dave Halter
|
c4c3ef5a21
|
goto_definition on a name definition (statement) should land on the statement.
|
2014-12-11 12:48:23 +01:00 |
|
Dave Halter
|
0f01242954
|
named param goto.
|
2014-12-08 01:52:32 +01:00 |
|
Dave Halter
|
774ade955d
|
Fixing for loop additions.
|
2014-12-04 17:58:01 +01:00 |
|
Dave Halter
|
1725abb1fd
|
Fix issues with docstrings.
|
2014-12-03 20:30:03 +01:00 |
|
Dave Halter
|
09ad3411da
|
Goto fixes.
|
2014-12-03 17:01:29 +01:00 |
|
Dave Halter
|
6314b80abd
|
Some goto refactorings.
|
2014-12-03 16:52:05 +01:00 |
|
Dave Halter
|
6bf154de5e
|
Better goto for imports, which helps usages.
|
2014-12-03 16:15:31 +01:00 |
|
Dave Halter
|
50752df6dd
|
Fix an issue with combinations of InstanceElement and Lambdas.
|
2014-12-01 11:26:35 +01:00 |
|
Dave Halter
|
88853c78f4
|
Get lambdas mostly working.
|
2014-12-01 02:47:48 +01:00 |
|
Dave Halter
|
68bd9160e2
|
Fixed list comprehension name lookups.
|
2014-12-01 00:08:27 +01:00 |
|
Dave Halter
|
fae0a7b0c4
|
Small fixes for past mistakes.
|
2014-11-24 01:56:54 +01:00 |
|
Dave Halter
|
db76bbccc5
|
Trying to change the symbols in node. They are now strings.
With this change we are finally able to get rid of parser/pytree.py
|
2014-11-24 01:52:41 +01:00 |
|
Dave Halter
|
9f45f18ad1
|
Added a grammar param to the parser.
|
2014-11-24 01:10:39 +01:00 |
|
Dave Halter
|
c152a1c58b
|
Actually replace tree with representation (in all the imports).
|
2014-11-23 19:46:52 +01:00 |
|
Dave Halter
|
ac41c31015
|
Removed more of the old parser representation code.
|
2014-11-23 19:33:18 +01:00 |
|
Dave Halter
|
9b54541cae
|
Remove quite a bit of the old parser representation logic.
|
2014-11-23 19:26:30 +01:00 |
|
Dave Halter
|
267016f533
|
Function for evaluating functions with already executed arguments.
|
2014-11-23 19:12:25 +01:00 |
|
Dave Halter
|
f1cbd45575
|
Usages are pretty solid now except for parser issues.
|
2014-11-22 15:43:23 +01:00 |
|
Dave Halter
|
22fbcf6c77
|
More goto improvements.
|
2014-11-21 15:45:17 +01:00 |
|