Dave Halter
eb2e41f771
Grammar versioning has now a smoother interface.
2015-12-25 19:30:25 +01:00
Dave Halter
c4906e0e3f
Rework the parser so we can use arbitrary start nodes of the syntax.
...
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
9a93d599da
Fix: __module__ doesn't need to be properly defined.
2015-12-20 02:35:23 +01:00
Dave Halter
8d3be10270
Fix issues in Python 2.7.
2015-12-10 17:20:21 +01:00
Dave Halter
c9a5caa96e
Fix: dicts lookups were not working in all cases.
2015-12-08 22:37:30 +01:00
Dave Halter
bef5fca516
Refactor compiled.CompiledObject so it always owns an evaluator instance.
2015-12-08 02:19:33 +01:00
Dave Halter
79caa2186e
list(open().read()) should work now, fixes #412 .
2015-04-09 00:46:31 +02:00
Dave Halter
0ceadf69a3
Fake objects don't need an ExprStmt for the docstring anymore.
2015-03-05 14:24:19 +01:00
Dave Halter
cf223a71f5
Add a position modifier for the fast parser. Not yet in use though.
2015-01-15 13:57:56 +01:00
Dave Halter
e53e211325
Python 2 compatibility in fake module.
2014-12-16 02:07:20 +01:00
Dave Halter
23417f0288
Fix docstrings in fake/skeleton objects.
2014-12-11 00:05:49 +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
ce5d428d22
At least functions generate docstrings again.
2014-11-20 01:37:18 +01:00
Dave Halter
acec5fe76f
fake docstrs fixed
2014-02-26 02:38:28 +01:00
Dave Halter
5e5bb618ea
remove token.py, docstrings are now just normal tokens until used
2014-02-26 01:13:38 +01:00
Dave Halter
c5fcebde82
changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser
2014-02-23 11:29:00 +01:00
Jean-Louis Fuchs
34e89fa1c5
Merge branch 'dev' into get_code_fidelity
...
Conflicts:
jedi/evaluate/docstrings.py
jedi/parser/representation.py
Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
6f2c1397b0
autocompletion diggs now pretty deep for generator objects
2014-01-23 14:39:00 +01:00
Dave Halter
7c105d27e0
some tests survive the new interpreter module already
2014-01-22 15:17:50 +01:00
Dave Halter
99882724da
is_py3k -> is_py3
2014-01-14 11:43:56 +01:00
Dave Halter
e56a0cf544
docstring was sometimes empty for faked modules
2014-01-13 02:58:10 +01:00
Dave Halter
b2d99be3ee
delete old builtin code
2014-01-12 19:23:37 +01:00
Dave Halter
4b319ad817
fix a docstr issue
2014-01-12 19:22:31 +01:00
Dave Halter
860aa50192
renamed fake/_io.pym to io.pym and fixed some other 'fake' issues
2014-01-12 18:17:00 +01:00
Dave Halter
2bde6cde08
changing completion of python file objects
2014-01-12 18:07:58 +01:00
Dave Halter
c75cef0882
fix some python 3 compatibility things (which involves some real bugs, but py2 was passing)
2014-01-12 17:02:26 +01:00
Dave Halter
1765fadf73
fix problems with self attributes - from fake modules
2014-01-11 18:05:44 +01:00
Dave Halter
6f9d834a93
now able to execute instance subscopes on compiled
2014-01-11 13:01:09 +01:00
Dave Halter
28ab937eca
in the process...
2014-01-11 02:55:50 +01:00
Dave Halter
01c03966a7
make first faked compiled modules work
2014-01-10 23:35:58 +01:00
Dave Halter
78cc015b9d
start introducing the compiled.fake module that fakes builtin code
2014-01-10 22:58:49 +01:00