Dave Halter
|
0f21d38e2c
|
Remove the old parser.
|
2014-11-23 19:17:50 +01:00 |
|
Dave Halter
|
ce5d428d22
|
At least functions generate docstrings again.
|
2014-11-20 01:37:18 +01:00 |
|
Dave Halter
|
3c6d5dafb1
|
Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.
|
2014-11-19 00:40:16 +01:00 |
|
Dave Halter
|
a4a767f8bb
|
Import improvements.
|
2014-11-18 17:19:15 +01:00 |
|
Dave Halter
|
f62f181066
|
First decorator implementations.
|
2014-11-17 22:24:54 +01:00 |
|
Dave Halter
|
13a128b160
|
global working.
|
2014-11-13 18:13:56 +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
|
70bc6642d8
|
symbols on the stack are now defined with a smaller tuple.
|
2014-11-05 10:27:24 +01:00 |
|
Dave Halter
|
3b4a8dcd7e
|
convert: run away from tuples.
|
2014-11-04 19:26:33 +01:00 |
|
Dave Halter
|
73bd576bb2
|
Merged some convert stuff.
|
2014-11-04 19:12:02 +01:00 |
|
Dave Halter
|
3518123afa
|
Moved the convert function away from pytree
|
2014-11-04 19:09:58 +01:00 |
|
Dave Halter
|
f3e4bf9ed1
|
Splitting up the convert function into leaves and nodes.
|
2014-11-04 18:54:25 +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
|
81174741a4
|
After error recovery, names need to be removed from the used_names list, because they are not actually defined in the current AST.
|
2014-11-02 17:40:45 +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
|
1a6ff3e8e6
|
Small parser fix.
|
2014-10-27 16:07:24 +01:00 |
|
Dave Halter
|
93c97a78a3
|
Fix an issue with classes and decorators combined.
|
2014-10-24 00:41:26 +02:00 |
|
Dave Halter
|
3bbce49fd3
|
Scope.names_dict implementation.
|
2014-10-23 00:51:02 +02:00 |
|
Dave Halter
|
4f4aef7ac8
|
Param helper class in the tree.
|
2014-10-22 20:07:42 +02:00 |
|
Dave Halter
|
e9f4c60e49
|
Use used_names not in pgen2, but only in our parser.
|
2014-10-22 15:50:02 +02:00 |
|
Dave Halter
|
8f3b7f9d44
|
A first array test passing.
|
2014-10-21 11:58:53 +02:00 |
|
Dave Halter
|
74d4fcf4e7
|
globals are more or less ready.
|
2014-10-17 18:48:07 +02:00 |
|
Dave Halter
|
f08811fba7
|
Start implementing GlobalStmt.
|
2014-10-17 15:13:45 +02:00 |
|
Dave Halter
|
3bf1fec568
|
Start implementing an algorithm for actually evaluating the parser tree.
|
2014-10-10 11:29:22 +02:00 |
|
Dave Halter
|
66840a742c
|
Implement the new parser in jedi.parser.Parser
|
2014-10-10 00:06:28 +02:00 |
|
Dave Halter
|
03e01631cc
|
Remove NamePart from existance and rename it to Name.
|
2014-09-26 16:29:53 +02:00 |
|
Dave Halter
|
6f29e802c2
|
Fix an issue with as_names.
|
2014-09-26 15:48:49 +02:00 |
|
Dave Halter
|
90842ce62d
|
Fixed global variables.
|
2014-09-26 11:58:11 +02:00 |
|
Dave Halter
|
9ecf3774a0
|
Import issues again.
|
2014-09-24 21:59:08 +02:00 |
|
Dave Halter
|
c43afae24a
|
Issues with imports.
|
2014-09-24 21:12:38 +02:00 |
|
Dave Halter
|
d5fbc006e2
|
Add a names_dict to scopes. This is good for the future parser and now useful to process self.foo and other stuff.
|
2014-09-24 12:44:24 +02:00 |
|
Dave Halter
|
5efa467449
|
Few import issues.
|
2014-09-22 23:45:48 +02:00 |
|
Dave Halter
|
1d71b25109
|
Previously forgot to add the NameParts to used_names. (which had worked before that)
|
2014-09-22 23:24:29 +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
|
04cf742973
|
Temporary parser implementation. Now we're pretty much done with pr.Name.
|
2014-09-22 17:05:23 +02:00 |
|
Dave Halter
|
779618c08b
|
First changes to eventually replace Name by NamePart.
|
2014-09-22 11:57:19 +02:00 |
|
Dave Halter
|
99116cdcb7
|
Add a Name.get_parent_stmt() function.
|
2014-09-05 22:26:55 +02:00 |
|
Dave Halter
|
6c07c7acfe
|
Create an ExprStatement class to replace the Statement class in the future and separate array parts of actual statements
|
2014-09-05 22:21:26 +02:00 |
|
Dave Halter
|
7b2e11d71b
|
Rewrote sys_path._paths_from_assignment.
|
2014-09-04 14:12:10 +02:00 |
|
Dave Halter
|
4180005893
|
Forgot to add the the params in the case of a class in the previous commit.
|
2014-09-04 12:53:42 +02:00 |
|
Dave Halter
|
06699993f1
|
Class inheritance definitions shouldn't be params. It's just statements.
|
2014-09-04 12:28:50 +02:00 |
|
Dave Halter
|
6f018e4884
|
introduce maybe_docstr in parse_statement, which should have been introduced way earlier.
|
2014-08-12 17:13:14 +02:00 |
|
Dave Halter
|
e3bb0ccc2e
|
fix a keyword statement issue
|
2014-08-06 12:10:36 +02:00 |
|
Dave Halter
|
c44168f7ad
|
add a Flow.previous attribute to be able to access the if flow from an else clause.
|
2014-08-05 11:17:18 +02:00 |
|
Dave Halter
|
cfe54e83ff
|
incomplete functions shouldn't cause any trouble. fixes #429.
|
2014-07-28 17:42:20 +02:00 |
|
Dave Halter
|
440b9b072e
|
Merge pull request #441 from davidhalter/dynamic_inheritance
Dynamic superclasses
|
2014-07-27 18:26:48 +04:30 |
|
Danilo Bargen
|
e8f479172a
|
Implemented dynamic superclasses
|
2014-07-27 14:11:48 +02:00 |
|
Danilo Bargen
|
c97e1732ee
|
Operator statement wrapper was missing (fixes #436)
|
2014-07-27 12:53:18 +02:00 |
|
Dave Halter
|
852cdad754
|
Operator fixes. Subclass of Simple, now.
|
2014-07-22 16:02:34 +02:00 |
|