Commit Graph
100 Commits
Author SHA1 Message Date
David Halter 983de9820f variable assignments for classes prepared 2012-06-23 18:26:36 +02:00
David Halter ff436bd293 resolved little ordering problem 2012-06-22 21:46:54 +02:00
David Halter 38de9e92bb fixed bug in testing suite 2012-06-22 02:45:08 +02:00
David Halter 9674e37b7b fully working descriptors 2012-06-22 01:52:32 +02:00
David Halter 4332495a11 basically working descriptors! 2012-06-22 00:05:57 +02:00
David Halter d88283b879 all tests working again, if the descriptor stuff is not used 2012-06-21 17:44:10 +02:00
David Halter 5811dfbcc3 removed prints 2012-06-21 14:33:53 +02:00
David Halter 31a74da900 temporary commit: introduced MultiLevelAttributeError. many prints to remove 2012-06-21 14:26:03 +02:00
David Halter a9676f77f1 again a decorator fix, which is important for nested decorators 2012-06-12 18:50:39 +02:00
David Halter e1dbdc1662 class decorators with __call__ are now properly working 2012-06-12 17:02:39 +02:00
David Halter c1fc527d60 commit before processing descriptors 2012-06-12 01:13:06 +02:00
David Halter 8fb1dc74a5 fixed test path problem 2012-06-12 01:01:06 +02:00
David Halter 9523d3c938 fully functional classes 2012-06-12 00:45:18 +02:00
David Halter 1400fe877e temporary commit with almost working class scopes 2012-06-11 18:11:33 +02:00
David Halter e641bb528a meta classes for class caching 2012-06-11 12:16:24 +02:00
David Halter dfa6bdd782 removed unncessary error message 2012-06-10 21:15:39 +02:00
David Halter 2574b27496 merge 2012-06-10 00:21:05 +02:00
David Halter 99c62cf1a3 Merge pull request #1 from gwrtheyrn/master
Travis testing by Danilo Bargen
2012-06-09 15:17:40 -07:00
David Halter 1661196701 do class scoping the right way (no direct access to class stuff in methods) 2012-05-28 02:10:42 +02:00
David Halter 5f0926d045 __call__ method is now working 2012-05-25 17:00:50 +02:00
David Halter e7661b1467 cleaning 2012-05-25 16:40:40 +02:00
David Halter ffb233eac1 self redirection solved 2012-05-25 13:59:17 +02:00
David Halter 37f66f53c5 default arguments should now always be the right ones 2012-05-23 15:39:10 +02:00
David Halter bdaf3799e7 __init__ function is working again 2012-05-23 12:19:32 +02:00
David Halter 3c882dea44 functions fully working with default arguments/generators/decorators, but without recursion 2012-05-22 10:34:27 +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 7ac17aa036 cleaning / pep8 2012-05-19 12:14:32 +02:00
David Halter 21a5825e6e property compatibility python 2.5 2012-05-17 10:54:56 +02:00
David Halter 2aa4a1cf8c another problem with the ouput of vim (parent returned NotImplemented) 2012-05-15 10:36:45 +02:00
David Halter 22c3dc11a0 fixed bug with vim errors of tokenize 2012-05-15 00:21:28 +02:00
David Halter 3a35eed346 readme 2012-05-13 16:31:51 +02:00
David Halter 361c478541 support for unicode/str and float/int literals (different returns) 2012-05-13 16:24:33 +02:00
David Halter 92df46bd58 tests for get_definitions 2012-05-13 16:14:37 +02:00
David Halter ed6b47c12c show_definition added to vim interface 2012-05-13 15:19:08 +02:00
David Halter cb201c3b7b goto function added 2012-05-13 12:41:56 +02:00
David Halter d6c5363132 goto function added 2012-05-13 02:37:47 +02:00
David Halter 7f94e417e4 moved FileWithCursor class to 'module' module 2012-05-13 00:42:30 +02:00
David Halter 4573e511ec again readme 2012-05-13 00:38:53 +02:00
David Halter 9663b1c904 again readme 2012-05-13 00:36:57 +02:00
David Halter 5d17359676 simple readme 2012-05-13 00:32:24 +02:00
David Halter e4efcd1258 added more generator names 2012-05-12 23:45:04 +02:00
David Halter 22d83e8518 resolved parent issue of params -> generators working now! / fixed path problem with tests 2012-05-12 23:32:54 +02:00
David Halter 1fb11dd178 fixed a little statement assignment problem 2012-05-12 11:20:03 +02:00
David Halter b118f7f14f builtin mixins support (functions custom defined) 2012-05-12 01:24:19 +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 3840b4c3ae preparations to merge parts of builtin/modules 2012-05-10 18:37:55 +02:00
David Halter 2efe3b0b57 generator basics - but not yet working with next, etc. need the bultins therefore 2012-05-10 16:54:45 +02:00
David Halter 7e3592ee29 pep8 2012-05-10 15:14: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 6ef274e3bc prints deleted 2012-05-10 14:39:58 +02:00
David Halter 17d498387b : lookups work now with arrays 2012-05-10 14:39:31 +02:00
David Halter 71f61b200c removed prints 2012-05-10 11:10:36 +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 8b99785e15 removed many print statements, previously used for param debugging 2012-05-07 23:33:43 +02:00
David Halter ff9ef84a84 tests again -> complicated working 2012-05-07 23:31:33 +02:00
David Halter bf3ec37b40 some list tests 2012-05-07 23:19:48 +02:00
David Halter 33ad6d2b6f function calls with key arguments work now 2012-05-07 23:10:00 +02:00
David Halter 62123ed764 exception throw fix 2012-05-07 22:48:40 +02:00
David Halter 57128bf17f *args / **kwargs remodelled 2012-05-07 22:41:41 +02:00
David Halter 40e59c0476 *args tests 2012-05-06 01:03:47 +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 1aae9a5d19 inheritance 2012-05-03 02:42:52 +02:00
David Halter 744715af5e class inheritance (only instances) 2012-05-03 01:10:07 +02:00
David Halter 1340ccb33d added ordering tests 2012-05-02 17:10:31 +02:00
David Halter 29f05aad8f ordering of variables should work now 2012-05-02 16:14:48 +02:00
David Halter 532c78b024 generators used to get names 2012-05-02 13:43:45 +02:00
David Halter 80f2a3518d commands after the current position are getting ignored now - with failed import tests 2012-05-01 15:45:01 +02:00
David Halter 453e003153 class/instance tests 2012-05-01 11:31:57 +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 0d083782ab invalid code testing 2012-04-25 10:21:20 +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
David Halter 1ea2954c0e tuple for loop tests 2012-04-25 00:09:54 +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 a5531f2a81 functions don't return values anymore, if they are not executed 2012-04-22 17:01:15 +02:00
David Halter 4543b14cd4 further function tests 2012-04-22 14:47:36 +02:00
David Halter a42dd9e4fa basic flow tests 2012-04-22 14:36:02 +02:00
David Halter 39a4014a95 compatibility file mainly for python 2.5 2012-04-22 14:30:55 +02:00
David Halter 5ee597be82 for loop support 2012-04-22 14:30:29 +02:00
David Halter 190e02b61f with statement - multiple arguments 2012-04-22 14:10:10 +02:00
David Halter 909a6bfa2b changed tests to not fail if they receive multiple inputs -> this is NOT the right behaviour 2012-04-21 23:13:56 +02:00