Commit Graph

101 Commits

Author SHA1 Message Date
David Halter
6db12b5973 better understanding of how dicts are filled 2012-08-16 16:23:03 +02:00
David Halter
10c2281244 dynamic arrays work now also in functions 2012-08-14 19:25:55 +02:00
David Halter
76e6b1f37c dynamic params works now on all internal classes 2012-08-14 14:43:47 +02:00
David Halter
79d30f1b24 addition to fix another docstr problem 2012-08-14 12:55:25 +02:00
David Halter
e2fb6c7d9a vim shows now docstrings also correct 2012-08-13 22:39:43 +02:00
David Halter
6467f4f420 docstrings are working again and have a correct output 2012-08-13 21:26:24 +02:00
David Halter
37b5f2cb93 found the memory-critical pieces. also removed old debug code 2012-08-13 16:46:34 +02:00
David Halter
e6f6003476 parents of Call/Array are now also weakrefs 2012-08-13 12:17:35 +02:00
David Halter
bc6cf350c2 weakrefs also for parent_stmt 2012-08-13 11:38:54 +02:00
David Halter
8e20c754b1 tests working all again, with weakref parents 2012-08-13 01:23:29 +02:00
David Halter
3ae7d3f278 use weakrefs for parents now: rest 2012-08-12 01:42:37 +02:00
David Halter
ed07e91d88 use weakrefs for parents now: functions.py 2012-08-12 01:23:57 +02:00
David Halter
2d6ba4e8ec pep8 compatibility 2012-08-10 23:31:56 +02:00
David Halter
c6f76a15ff dynamic array additions are working with list.append 2012-08-09 14:21:51 +02:00
David Halter
9072bd6f52 added a base class to have easier isinstance comparisons 2012-08-06 22:25:58 +02:00
David Halter
c154bdad0e array indexing works now also with variables 2012-08-06 17:47:43 +02:00
David Halter
92bf995c3a different dynamic approach to get params, works already really good! 2012-08-06 01:33:01 +02:00
David Halter
ee798b03f2 introduced a dynamic completion for params 2012-08-05 17:24:26 +02:00
David Halter
c2a5876d7b refactorings / added used_names to Module 2012-08-04 01:20:41 +02:00
David Halter
b4d147738f solved goto-import problems 2012-08-03 00:14:14 +02:00
David Halter
d8c0b8f8e9 again import tests 2012-08-02 20:09:45 +02:00
David Halter
eb7e877fd9 cleaning 2012-07-30 01:00:48 +02:00
David Halter
e99ff5528e goto follows now also import statements 2012-07-28 18:28:38 +02:00
David Halter
6ef99d4338 parent_stmt property never raises an error now, returns None 2012-07-19 17:15:48 +02:00
David Halter
2feef20dc5 import completion fully working 2012-07-17 00:44:40 +02:00
David Halter
45413a18b9 most import completions work now, but some other tests don't 2012-07-16 20:42:22 +02:00
David Halter
e779cc8c97 basic imports rewriting, which has still it's rough edges 2012-07-16 02:19:48 +02:00
David Halter
08a4562958 line_nr/indent were now completely replaced by start_pos. tests are failing! 2012-07-14 03:06:49 +02:00
David Halter
cdf97b2bbe interface changes from row/colum to position 2012-07-14 01:05:56 +02:00
David Halter
1e5377958b pep8 2012-07-13 15:55:18 +02:00
David Halter
4ee9faacec fixed a bug that made it impossible to load two cbuiltins from the same directory / 2.5 compatibility 2012-07-13 15:04:10 +02:00
David Halter
364405166b little bit of python2.5 compatibility 2012-07-13 02:17:33 +02:00
David Halter
972b4bd13d parentheses work now in import statements (tested) 2012-07-13 01:00:44 +02:00
David Halter
12970f80ae fixed an index problem with the parser, which could happen with really special code 2012-07-12 12:01:28 +02:00
David Halter
b840648ef3 big change to make param transfer possible. always. this also makes scopes in many places redundant. 2012-07-12 00:37:55 +02:00
David Halter
53358b28d3 properties work now also with initialization values of classes 2012-07-10 17:52:46 +02:00
David Halter
e88c11605b fixed a little bug caused by not setting the parent of flows correctly 2012-07-05 15:55:19 +02:00
David Halter
2ce3869ab8 revised TODOs 2012-06-26 01:34:58 +02:00
David Halter
c4d74c3521 ternary operators work now, list comprehensions preparation 2012-06-26 00:42:19 +02:00
David Halter
cffa236fc2 fix a little error that caused the completion not to work with if/try statements 2012-06-24 20:19:19 +02:00
David Halter
da7ef3ba4b generators work again (deleted some necessary stuff) 2012-05-22 01:47:40 +02:00
David Halter
547c952ba1 first more or less atempt of functions, that are copied. therefore it is possible to make more complicated function calls (recursion, use function multiple times differently, etc) 2012-05-22 01:15:04 +02:00
David Halter
1ee26a09c6 temporary commit: function behaviour changes 2012-05-21 17:42:46 +02:00
David Halter
fd1246818a python 2.5 compatibility, works, but tests fail, because certain thing don't exist in 2.5 (like int.real) 2012-05-20 00:59:03 +02:00
David Halter
8d523db9d9 most tests pass for python 3 2012-05-20 00:25:30 +02:00
David Halter
c95510cf50 basic python 3 compatibility 2012-05-19 23:49:25 +02:00
David Halter
1fb11dd178 fixed a little statement assignment problem 2012-05-12 11:20:03 +02:00
David Halter
9b525633e5 GlobalScope -> Module refactoring 2012-05-10 19:00:45 +02:00
David Halter
6a035fe147 moved parts of module to builtin 2012-05-10 18:59:28 +02:00
David Halter
f1ecbe30f1 fix long existing bug, that empty round brackets are not seen as a tuple 2012-05-10 14:50:44 +02:00