This website requires JavaScript.
7532f52cdd
Understanding implicit tuple returns (testlist)
Dave Halter
2014-10-25 12:50:51 +02:00
97a102bd24
Get param parsing right.
Dave Halter
2014-10-25 12:02:54 +02:00
22cb3ca5f0
subscriptable errors.
Dave Halter
2014-10-25 11:34:16 +02:00
995f0700c9
Fix params, so that quite a few functions can now pass.
Dave Halter
2014-10-25 02:35:04 +02:00
4384e938e9
Get a few more things right with params.
Dave Halter
2014-10-25 02:25:09 +02:00
9f1336095b
unpacking arguments.
Dave Halter
2014-10-24 21:46:42 +02:00
c58975807c
Small function/param corrections.
Dave Halter
2014-10-24 01:58:56 +02:00
93c97a78a3
Fix an issue with classes and decorators combined.
Dave Halter
2014-10-24 00:41:26 +02:00
3bdd32ad87
Always create a module.
Dave Halter
2014-10-23 16:27:16 +02:00
de4db11d25
Reading dicts works now.
Dave Halter
2014-10-23 16:21:23 +02:00
51ffc54471
Temporary params of class solution.
Dave Halter
2014-10-23 14:41:01 +02:00
387fc3b038
Adding prev_sibling, getting self attributes.
Dave Halter
2014-10-23 14:03:52 +02:00
88dcbe1f48
Name.is_definition implementation.
Dave Halter
2014-10-23 13:37:35 +02:00
971f1db823
Create a next_sibling method on _Leaf, which is then used to check for self attributes.
Dave Halter
2014-10-23 01:36:24 +02:00
abb8d0e26c
get_names_dict removed and use instead the names_dict attribute.
Dave Halter
2014-10-23 01:06:50 +02:00
3bbce49fd3
Scope.names_dict implementation.
Dave Halter
2014-10-23 00:51:02 +02:00
4f4aef7ac8
Param helper class in the tree.
Dave Halter
2014-10-22 20:07:42 +02:00
e9f4c60e49
Use used_names not in pgen2, but only in our parser.
Dave Halter
2014-10-22 15:50:02 +02:00
e2a07752fd
'.NAME' lookups.
Dave Halter
2014-10-22 02:33:35 +02:00
34f3ea6973
More and probably the last tuple assignment stuff.
Dave Halter
2014-10-22 02:29:47 +02:00
297bcf6e19
Parentheses without commas are no tuples.
Dave Halter
2014-10-22 02:10:48 +02:00
6a8b840b29
Be able to differentiate tuple/list/dict.
Dave Halter
2014-10-22 01:42:21 +02:00
14113a1bff
Fix a lot more of the tuple assignments.
Dave Halter
2014-10-22 01:27:12 +02:00
5b29e2c54d
Add a method 'Name.assignment_indexes', to process tuple assignments.
Dave Halter
2014-10-21 15:45:29 +02:00
c1807e5f33
Reworked ExprStmt.get_definition
Dave Halter
2014-10-21 14:21:59 +02:00
1c27759c4f
Few fixes.
Dave Halter
2014-10-21 13:54:03 +02:00
d119902496
Slices
Dave Halter
2014-10-21 13:36:56 +02:00
ab53942e55
Start working with arithmetics.
Dave Halter
2014-10-21 12:18:03 +02:00
2eed6b7b5f
Unaccessible array indexes should still produce results.
Dave Halter
2014-10-21 12:03:01 +02:00
8f3b7f9d44
A first array test passing.
Dave Halter
2014-10-21 11:58:53 +02:00
fb2ef5a7a0
Start using arrays.
Dave Halter
2014-10-21 11:05:12 +02:00
718f43431c
Introduce error recovery for the parser: At the moment just recover from broken statements.
Dave Halter
2014-10-21 09:57:22 +02:00
c821b30017
Fix a first test: complex.py
Dave Halter
2014-10-20 17:06:18 +02:00
43e3452474
Fix more argument related stuff.
Dave Halter
2014-10-20 16:34:17 +02:00
1a639bd118
Arguments move to params.
Dave Halter
2014-10-20 15:43:56 +02:00
b2c95cb02f
Generating return statements.
Dave Halter
2014-10-18 12:40:36 +02:00
74d4fcf4e7
globals are more or less ready.
Dave Halter
2014-10-17 18:48:07 +02:00
f08811fba7
Start implementing GlobalStmt.
Dave Halter
2014-10-17 15:13:45 +02:00
6abafc40fa
ExprStmt now doesn't contain imports anymore.
Dave Halter
2014-10-17 14:56:12 +02:00
d7face17f6
Using expr_stmt now instead of simple_stmt as ExprStmt, because that resembles the official grammar better.
Dave Halter
2014-10-17 12:03:41 +02:00
19acdd32b7
Fixed issues with the Python3.4 grammar file.
Dave Halter
2014-10-17 01:34:47 +02:00
ae8969a0d1
New kind of KeywordStatement
Dave Halter
2014-10-17 01:26:34 +02:00
aefc5ec15f
add the 3.4 grammar.
Dave Halter
2014-10-16 14:47:14 +02:00
01ce93cb5c
Preparation for a parser refactoring.
Dave Halter
2014-10-16 11:45:25 +02:00
887949e23f
Start making executions work.
Dave Halter
2014-10-16 10:58:27 +02:00
7b91050c85
introduce something that resembles argument clinic in stdlib.
Dave Halter
2014-10-16 10:58:11 +02:00
631aa0ea61
Processing atom and power nodes.
Dave Halter
2014-10-15 13:40:56 +02:00
485b8ae3da
Move Node away from pytree into the parser representation.
Dave Halter
2014-10-13 13:47:32 +02:00
6458047bac
Name in statement definition implementation.
Dave Halter
2014-10-13 13:33:49 +02:00
0def3afaaa
A move function for Nodes.
Dave Halter
2014-10-12 23:37:46 +02:00
660124aca1
Get an example running: 'import json; json.dump'.
Dave Halter
2014-10-12 22:37:23 +02:00
e2b7e74aef
Import improvements.
Dave Halter
2014-10-10 17:52:36 +02:00
a192f4f347
Add keywords, improve import support.
Dave Halter
2014-10-10 17:48:40 +02:00
54c91b1509
Get a first local test passing.
Dave Halter
2014-10-10 12:07:08 +02:00
3bf1fec568
Start implementing an algorithm for actually evaluating the parser tree.
Dave Halter
2014-10-10 11:29:03 +02:00
66840a742c
Implement the new parser in jedi.parser.Parser
Dave Halter
2014-10-10 00:06:28 +02:00
05fd7f992e
Don't use the fast parser at the moment. It's more important for now to even get a parser working.
Dave Halter
2014-10-09 14:36:52 +02:00
aa75140f96
Remove old base class for Nodes.
Dave Halter
2014-10-09 13:33:42 +02:00
92ee2a912e
Actually get the first few written tests passing.
Dave Halter
2014-10-09 13:21:30 +02:00
68d23840bb
Start actual testing of the new parser.
Dave Halter
2014-10-09 13:16:28 +02:00
daee273a08
Remove all the old get_code references.
Dave Halter
2014-10-09 11:38:57 +02:00
843efb43e9
statement refactoring.
Dave Halter
2014-10-09 11:36:27 +02:00
a0092c2653
remove old statement parser code.
Dave Halter
2014-10-09 11:20:49 +02:00
140320143a
Remove the old Leave class.
Dave Halter
2014-10-09 11:02:03 +02:00
c7c222daab
Implement WhiteSpace as well and merge with pytree.
Dave Halter
2014-10-09 10:55:03 +02:00
8236ce18a2
Refactor Literal.
Dave Halter
2014-10-09 03:23:52 +02:00
eb384fc2d1
Name refactoring.
Dave Halter
2014-10-09 03:21:18 +02:00
432ec8f186
Operator refactoring.
Dave Halter
2014-10-09 03:15:50 +02:00
6bb88ddd85
Function is starting to work.
Dave Halter
2014-10-08 17:58:02 +02:00
585e92ac9f
Temporarily disable evaluate/compiled stuff, because it interferes with the current changes of the parser. This will be undone.
Dave Halter
2014-10-08 17:45:49 +02:00
308c971ad7
Change pr.Simple.
Dave Halter
2014-10-08 17:02:37 +02:00
d9aa84f971
simplify the use of 'context'
Dave Halter
2014-10-08 16:33:35 +02:00
e54dac3777
Start setting up the parser.representation merge
Dave Halter
2014-10-08 16:15:27 +02:00
220ddc8a74
Probably the last big removals, there's not a lot left.
Dave Halter
2014-10-08 15:35:45 +02:00
a23ad3df10
Remove more and more from pytree.
Dave Halter
2014-10-08 15:30:15 +02:00
2781a4ac98
Remove comparison methods.
Dave Halter
2014-10-08 15:22:44 +02:00
1fb6e15750
Fix prefixes of Leafs.
Dave Halter
2014-10-08 15:19:36 +02:00
36368cd606
More removals and cleanups.
Dave Halter
2014-10-08 15:13:43 +02:00
07d9111c77
Remove some more pytree methods.
Dave Halter
2014-10-08 15:05:29 +02:00
a7fff54d7b
Remove some fixer related stuff (lib2to3 stuff).
Dave Halter
2014-10-08 15:04:01 +02:00
834172a3e9
Add a new parser, check it pgen2 would work. (already modified outside this repository)
Dave Halter
2014-10-08 14:26:52 +02:00
09a7317bc9
Merge branch 'dev' of github.com:davidhalter/jedi into dev
Dave Halter
2014-10-06 17:55:46 +02:00
e9a3a44780
Remove some other _star_import_cache stuff, and with this, #489 should be fixed.
Dave Halter
2014-10-06 17:55:28 +02:00
3638d5149d
Change time_cache, to also host the star_import_cache.
Dave Halter
2014-10-06 17:37:34 +02:00
bbdb4703ec
change cache_call_signatures, so that it has a well defined input.
Dave Halter
2014-10-06 16:07:33 +02:00
87574e9d2e
star_import_cache refactorings: Make it more readable.
Dave Halter
2014-10-04 12:43:08 +02:00
a1b55a9df7
clear_caches -> clear_time_caches
Dave Halter
2014-10-03 14:23:46 +02:00
116e9e72fc
is_definition/Import issue
Dave Halter
2014-10-02 11:27:01 +02:00
8ca48f03db
Tests for imports and is_definition.
Dave Halter
2014-10-02 11:14:03 +02:00
90d159eadd
Merge pull request #483 from ColinDuquesnoy/fix_runtime_error
Dave Halter
2014-09-29 16:07:01 +04:30
d7836c1034
Add a comment and link to issue #483
ColinDuquesnoy
2014-09-29 11:57:38 +02:00
42596dba15
Merge remote-tracking branch 'upstream/dev' into fix_runtime_error
ColinDuquesnoy
2014-09-29 11:49:21 +02:00
d1ae447362
Simplify code
ColinDuquesnoy
2014-09-29 09:50:49 +02:00
27444ed64d
Remove Import.alias_name_part, it was simply an alias for another lookup.
Dave Halter
2014-09-26 16:32:36 +02:00
03e01631cc
Remove NamePart from existance and rename it to Name.
Dave Halter
2014-09-26 16:29:53 +02:00
522c9eda90
Remove pr.Name completely.
Dave Halter
2014-09-26 16:18:10 +02:00
4d7db35340
Fix a few last tests, now Jedi's working again, tests are passing.
Dave Halter
2014-09-26 16:02:03 +02:00
6f29e802c2
Fix an issue with as_names.
Dave Halter
2014-09-26 15:48:49 +02:00
7fea6437d9
Fix issues with Definition.full_name
Dave Halter
2014-09-26 13:07:21 +02:00
4f4ac505a3
Fix isses with interpreter completions.
Dave Halter
2014-09-26 13:07:08 +02:00