Commit Graph

57 Commits

Author SHA1 Message Date
Dave Halter
3910d97b7e Fix: __getitem__ sometimes didnt evaluate all the types. 2015-12-05 12:36:05 +01:00
Dave Halter
d65684a40b Fix py__getitem__ on Array. 2015-12-05 02:48:20 +01:00
Dave Halter
db060c70c9 Start creating py__getitem__. 2015-12-04 12:08:29 +01:00
Dave Halter
9259a432b7 Dicts should be iterated by its keys (__iter__). 2015-11-28 16:08:38 +01:00
Dave Halter
595b803f1f Fix an issue with strings that can be chained in the parser. 2015-11-17 11:38:51 +01:00
Dave Halter
6d3bb5c4b1 Fix generator comprehensions issue when used as an argument. 2015-03-02 03:06:58 +01:00
Dave Halter
610068dde4 Fix merged array values. 2015-02-27 11:23:53 +01:00
Danilo Bargen
2a1c108bbf Fixed whitespace problems in completion tests 2014-07-26 17:39:05 +02:00
Dave Halter
aba4a16ae3 fix indexing issues for multiple index options 2014-06-27 11:23:46 +02:00
Dave Halter
bdcbac160b fix string/array (sequence) multiplications with integer. 2014-06-26 00:49:56 +02:00
Dave Halter
5a6eabb364 array recursion test, took a long time to find that annoying bug. 2014-04-30 11:50:21 +02:00
Dave Halter
5740c45791 again tokenize simplifications 2014-04-28 19:31:41 +02:00
Dave Halter
23b4a89d1d slices should be ignored in __getitem__ settings (for now) 2014-04-28 18:15:25 +02:00
David Halter
284f2f1671 add __iter__method to InstanceElement, because it's needed for arrays 2013-07-24 17:21:49 +02:00
David Halter
c8648d9ca5 test for unnecessary parentheses inside instances 2013-07-24 16:57:46 +02:00
David Halter
bb8e864f8e fix UnboundLocalError and TypeError within Array lookups, not a very good solution, but for now it doesn't puke errors 2013-07-23 02:33:07 +02:00
David Halter
45c8cc739b fixed the dict problem, but dictionary completions are still very bad 2013-07-17 16:14:06 +02:00
David Halter
0dbfc409a7 iteration problem test 2013-07-17 15:56:21 +02:00
Takafumi Arakaki
45bddec83a Add more complex assignment tests 2013-05-23 23:41:41 +02:00
Takafumi Arakaki
ced1a83f5b Add a failing test: "a = b = 1"-style assignment 2013-05-23 23:28:30 +02:00
David Halter
a2da599d6e fix a completion in dict problem 2013-05-03 18:31:05 +04:30
David Halter
e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter
3f95d33f4d added tests for executions/follows of unnecessary brackets 2012-12-24 02:25:26 +01:00
David Halter
ca21f76128 no confusions in executions for dict assignments, fixes #83 2012-12-19 21:23:50 +01:00
David Halter
571a96c02b test for #83 2012-12-19 02:01:57 +01:00
David Halter
936f7f9fd5 private variables are not accessible anymore, but still completeable - fixes and tests for #56 2012-11-22 23:50:26 +01:00
David Halter
6b76fdc0ba fixed tuple assignment problem 2012-10-09 16:42:51 +02:00
David Halter
fc861313ce fixed statement parsing problem of list slicing 2012-10-09 15:01:32 +02:00
David Halter
8795b4fbac some operator support for '*' 2012-10-04 01:31:57 +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
e28d7f0cdf cleaning / pep8 2012-08-23 14:45:29 +02:00
David Halter
61ca2c74b4 reeneabled more complex builtin array tests 2012-08-14 13:07:21 +02:00
David Halter
ae60bce836 dynamic arrays are now working pretty good 2012-08-09 16:03:28 +02:00
David Halter
c6f76a15ff dynamic array additions are working with list.append 2012-08-09 14:21:51 +02:00
David Halter
6fdc305551 tuple/iter are working now 2012-08-07 00:27:25 +02:00
David Halter
8bd73d96cb frozenset is working now / further array conversion tests 2012-08-07 00:11:44 +02:00
David Halter
f935d4ff53 implemented __iter__ 2012-08-06 23:21:42 +02:00
David Halter
bef8fca57d list() builtin is working better now 2012-08-06 21:26:05 +02:00
David Halter
c154bdad0e array indexing works now also with variables 2012-08-06 17:47:43 +02:00
David Halter
8780199a33 basic __getitem__ implementation 2012-08-06 15:49:08 +02:00
David Halter
4739eb6c02 changed the way the tests react, when multiple elements are produced 2012-07-12 16:19:47 +02:00
David Halter
c84ca8f897 fixed a bug with tuple indexing: a,b,c = (1,2) 2012-07-12 15:45:14 +02:00
David Halter
8d26cff54b changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:29:50 +02:00
David Halter
17d498387b : lookups work now with arrays 2012-05-10 14:39:31 +02:00
David Halter
17f059e853 full dictionary suport 2012-05-08 23:39:29 +02:00
David Halter
e2446d675a string literal handling 2012-05-08 22:19:45 +02:00
David Halter
40e59c0476 *args tests 2012-05-06 01:03:47 +02:00
David Halter
c0d9cbf0b6 instances are basically working now, tests are not -> satisfy tests! 2012-05-01 04:59:40 +02:00
David Halter
e466508b4d tests and error catching for double executions 2012-04-25 10:01:53 +02:00
David Halter
3780e44603 tests added / error catch 2012-04-25 09:48:31 +02:00