Commit Graph

111 Commits

Author SHA1 Message Date
David Halter
73f341866c added recursion decorator / fast_parent_copy fix 2012-08-29 22:53:51 +02:00
David Halter
49ec21a404 invalid list comprehensions should not raise exceptions anymore 2012-08-28 00:37:50 +02:00
David Halter
f03d8122f5 parser support for nested list comprehensions 2012-08-27 22:06:14 +02:00
David Halter
6e59e96f78 working list comprehensions with tests. 2012-08-27 17:52:16 +02:00
David Halter
5d6e30c6ab moved PushBackIterator to parsing 2012-08-27 15:18:03 +02:00
David Halter
9fd7b96043 preparations for list comprehensions in the parser 2012-08-27 14:56:47 +02:00
David Halter
33e5850105 dynamic arrays in executions and instances should now work fully, some things got simplified, now it works. 2012-08-27 11:36:44 +02:00
David Halter
d85184d387 possible to return dynamic arrays 2012-08-22 11:44:45 +02:00
David Halter
9c09de6245 added a descriptor, to ignore unbound methods in Python 2 2012-08-22 01:11:54 +02:00
David Halter
f52fea984d parsing.Array/parsing.Call have a start_pos attribute now 2012-08-21 11:59:21 +02:00
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