Dave Halter
|
cf0407e164
|
Add 'if isinstance' type information.
|
2014-12-02 17:34:36 +01:00 |
|
Dave Halter
|
88853c78f4
|
Get lambdas mostly working.
|
2014-12-01 02:47:48 +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
|
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
|
ba0e61d99f
|
Star imports are now part of the ModuleWrapper.
|
2014-11-19 18:09:49 +01:00 |
|
Dave Halter
|
b0109343e4
|
Jedi didn't care for decorator 'dotted_name' nodes and therefore descriptor tests failed.
|
2014-11-18 15:44:40 +01:00 |
|
Dave Halter
|
90ce1ac47f
|
Simplify decorators, make them easier to read in debugging mode.
|
2014-11-18 15:04:20 +01:00 |
|
Dave Halter
|
93ffc799f5
|
Because of the change in dynamic params, we can now remove the decorator hack in the name finder.
|
2014-11-18 13:06:20 +01:00 |
|
Dave Halter
|
f62f181066
|
First decorator implementations.
|
2014-11-17 22:24:54 +01:00 |
|
Dave Halter
|
22f20ec715
|
Treat executed params different from normal ones.
|
2014-11-17 13:35:16 +01:00 |
|
Dave Halter
|
13a128b160
|
global working.
|
2014-11-13 18:13:56 +01:00 |
|
Dave Halter
|
f3c2b4fc33
|
Get with statements working.
|
2014-11-13 12:51:49 +01:00 |
|
Dave Halter
|
1ab67ebbba
|
Fix except statements names.
|
2014-11-13 01:02:56 +01:00 |
|
Dave Halter
|
408eee50dd
|
Start fixing issues with for loops and += operations.
|
2014-11-12 14:54:52 +01:00 |
|
Dave Halter
|
c326562c27
|
Implemented x if foo else y case.
|
2014-11-12 11:49:27 +01:00 |
|
Dave Halter
|
54c5591ccb
|
Progress with list comprehensions. There is now a separate class.
|
2014-11-12 11:42:31 +01:00 |
|
Dave Halter
|
cc661473bc
|
Trying to change used_names, so that they don't contain name definitions from CompFor.
|
2014-11-11 17:13:27 +01:00 |
|
Dave Halter
|
8200b68549
|
Fix for loops and for loops tuple assignments.
|
2014-11-06 17:21:00 +01:00 |
|
Dave Halter
|
aa0c73c9ab
|
Fixed a few small things in the parser. Flow analysis is working again. Completely.
|
2014-11-06 04:41:23 +01:00 |
|
Dave Halter
|
186ce2b70a
|
Improve flow analysis a bit.
|
2014-11-05 19:18:45 +01:00 |
|
Dave Halter
|
c6c2768dda
|
Parser error recovery simplified. Just fall back to scopes, if somethings wrong.
|
2014-11-04 09:40:32 +01:00 |
|
Dave Halter
|
1d2980cd2d
|
Remove a flow information thing for now.
|
2014-11-03 18:27:31 +01:00 |
|
Dave Halter
|
e25684d470
|
Start to check for name positions with names_dict name finder.
|
2014-11-03 15:58:56 +01:00 |
|
Dave Halter
|
4676998fb5
|
Playing with params/names_dict
|
2014-11-03 13:38:57 +01:00 |
|
Dave Halter
|
1ff4713848
|
Move error recovery function.
|
2014-11-02 17:24:06 +01:00 |
|
Dave Halter
|
0c3cba166e
|
Make names_dict available in modules.
|
2014-11-02 14:22:00 +01:00 |
|
Dave Halter
|
1c09a90ac1
|
Disable usage of filter_private_variable for now.
|
2014-10-28 17:00:12 +01:00 |
|
Dave Halter
|
1cc1d4480b
|
Fix issues with copying children in combination with InstanceElement.
|
2014-10-28 13:33:40 +01:00 |
|
Dave Halter
|
b550f67bce
|
Small instance refactoring, now adding is_generated as a param.
|
2014-10-28 11:33:28 +01:00 |
|
Dave Halter
|
19e083cbfb
|
Make Leaf public
|
2014-10-28 11:13:33 +01:00 |
|
Dave Halter
|
b3d87302f9
|
Small changes to adapt oto the new param structure.
|
2014-10-28 02:11:13 +01:00 |
|
Dave Halter
|
2315d51e68
|
direct param evaluation
|
2014-10-25 14:37:01 +02:00 |
|
Dave Halter
|
995f0700c9
|
Fix params, so that quite a few functions can now pass.
|
2014-10-25 02:35:04 +02:00 |
|
Dave Halter
|
4384e938e9
|
Get a few more things right with params.
|
2014-10-25 02:25:09 +02:00 |
|
Dave Halter
|
5b29e2c54d
|
Add a method 'Name.assignment_indexes', to process tuple assignments.
|
2014-10-21 15:45:29 +02:00 |
|
Dave Halter
|
c821b30017
|
Fix a first test: complex.py
|
2014-10-20 17:06:18 +02:00 |
|
Dave Halter
|
74d4fcf4e7
|
globals are more or less ready.
|
2014-10-17 18:48:07 +02:00 |
|
Dave Halter
|
660124aca1
|
Get an example running: 'import json; json.dump'.
|
2014-10-12 22:37:23 +02:00 |
|
Dave Halter
|
03e01631cc
|
Remove NamePart from existance and rename it to Name.
|
2014-09-26 16:29:53 +02:00 |
|
Dave Halter
|
522c9eda90
|
Remove pr.Name completely.
|
2014-09-26 16:18:10 +02:00 |
|
Dave Halter
|
4d7db35340
|
Fix a few last tests, now Jedi's working again, tests are passing.
|
2014-09-26 16:02:03 +02:00 |
|
Dave Halter
|
f4c99259b5
|
Fix an issue with sys.path. Also moved the names closure for isinstance checks away (used for sys.path stuff) and use a get_code check instead, which is more flexible.
|
2014-09-25 12:35:53 +02:00 |
|
Dave Halter
|
16f244a1b2
|
Fix isinstance issues.
|
2014-09-25 00:36:53 +02:00 |
|
Dave Halter
|
db31536d78
|
Fix issue with descriptors.
|
2014-09-24 16:52:44 +02:00 |
|
Dave Halter
|
dae1a48d70
|
Remove a lot of the old Name.names usages in favor of a direct NamePart usage.
|
2014-09-22 22:34:33 +02:00 |
|
Dave Halter
|
8f3301f281
|
Passing Function tests now.
|
2014-09-22 14:06:38 +02:00 |
|
Dave Halter
|
c4e45916c6
|
Modules also use a NamePart as a name, now.
|
2014-09-22 12:52:48 +02:00 |
|
Dave Halter
|
085c8034b3
|
Apply evaluate.representation wrappers already before they go out into the goto world.
|
2014-09-11 02:20:54 +02:00 |
|