Commit Graph

60 Commits

Author SHA1 Message Date
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
David Halter
17d498387b : lookups work now with arrays 2012-05-10 14:39:31 +02:00
David Halter
49ef3dcace function decorator support (only written with functions) 2012-05-10 11:08:08 +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
57128bf17f *args / **kwargs remodelled 2012-05-07 22:41:41 +02:00
David Halter
cb5b036f01 *args / **kwargs done - untested 2012-05-06 01:03:35 +02:00
David Halter
5fa627ef58 dictionary parsing didn't work 2012-05-05 12:09:12 +02:00
David Halter
b6e98b2eee refactorings and start of *args / **kwargs 2012-05-04 14:46:28 +02:00
David Halter
ec2e0b28cf iter replaces __iter__ calls 2012-05-03 23:00:02 +02:00
David Halter
9f8e0f46f6 inheritance 2012-05-03 02:47:58 +02:00
David Halter
744715af5e class inheritance (only instances) 2012-05-03 01:10:07 +02:00
David Halter
29f05aad8f ordering of variables should work now 2012-05-02 16:14:48 +02:00
David Halter
0d083782ab invalid code testing 2012-04-25 10:21:20 +02:00
David Halter
a1cf284297 formatting / pep8 2012-04-25 00:07:05 +02:00
David Halter
c78d05fa12 for function works with tuples now / refactoring 2012-04-25 00:01:15 +02:00
David Halter
1e7680ed1d globals 2012-04-24 17:24:51 +02:00
David Halter
470e52e95d cleaning 2012-04-24 16:18:23 +02:00
David Halter
7de81ca4a5 tuple support without braces 2012-04-24 15:40:12 +02:00
David Halter
b06b4e2dd8 tuple tests 2012-04-24 13:55:45 +02:00
David Halter
69c720423d tuple support 2012-04-24 13:13:37 +02:00
David Halter
95d1a25d72 added tests 2012-04-24 01:19:30 +02:00
David Halter
190e02b61f with statement - multiple arguments 2012-04-22 14:10:10 +02:00
David Halter
1af8273389 added import tests 2012-04-21 23:08:13 +02:00
David Halter
8627a0bc03 function calls work right now 2012-04-21 19:33:12 +02:00
David Halter
4365c80a53 star imports work now also in the start module 2012-04-19 00:04:24 +02:00
David Halter
0048eb65c4 bug fixing 2012-04-18 21:41:51 +02:00
David Halter
832a3cb2c0 pylab imports work 2012-04-17 14:57:20 +02:00
David Halter
c03bc8c714 array support 2012-04-15 00:05:34 +02:00
David Halter
b8f6f2267b the parser should now be possible to ignore single opening parentheses 2012-04-09 17:44:35 +02:00
David Halter
429a8eedb3 module imports are working now 2012-04-09 00:27:10 +02:00
David Halter
2681699dcf params of methods are now better handled, this is the first version, which i think would be useful for usage 2012-04-07 18:51:10 +02:00
David Halter
95835250d7 floats are working now too, the whole thing seems to be pretty solid. 2012-04-07 02:15:36 +02:00
David Halter
af786b9924 statements on strings and other builtins are now working 2012-04-06 18:44:35 +02:00
David Halter
6239a0fb72 just for safety 2012-04-05 18:48:00 +02:00
David Halter
4c1a2f3ba1 working builtins 2012-04-05 17:02:30 +02:00
David Halter
377af57d5f import work - including star imports 2012-04-01 21:36:30 +02:00
David Halter
03a6bf6b59 debug warnings are now also possible 2012-03-29 02:11:34 +02:00
David Halter
94e23958bb builtin module support partially added 2012-03-29 02:06:44 +02:00
David Halter
21187d81bb started the importing of modules + there is now a debug module 2012-03-27 14:44:17 +02:00
David Halter
36f5cccfe9 fixed mutability problem 2012-03-24 03:47:37 +01:00
David Halter
c13361dd1d removed old code & pep8 2012-03-21 15:07:56 +01:00