Commit Graph
100 Commits
Author SHA1 Message Date
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
David Halter 98a03d76fb evaluate reordering 2012-04-21 23:09:59 +02:00
David Halter 1af8273389 added import tests 2012-04-21 23:08:13 +02:00
David Halter dccef451a2 pep8 formatting 2012-04-21 21:14:06 +02:00
David Halter 4feb8f5a3a import tests 2012-04-21 19:35:24 +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 900ee27192 removed old crap 2012-04-18 22:05:08 +02:00
David Halter 0048eb65c4 bug fixing 2012-04-18 21:41:51 +02:00
David Halter ff7f774dc6 removed print, which is annoying when starting vim 2012-04-18 12:35:40 +02:00
David Halter f0532c6869 builtin cache reloads modules if they changed 2012-04-18 12:26:16 +02:00
David Halter 832a3cb2c0 pylab imports work 2012-04-17 14:57:20 +02:00
David Halter dcf83069d9 restructuring 2012-04-16 16:51:01 +02:00
David Halter c03bc8c714 array support 2012-04-15 00:05:34 +02:00
David Halter af1407dfc4 array tests 2012-04-15 00:05:09 +02:00
David Halter 43e0445250 added type tests 2012-04-14 21:51:52 +02:00
David Halter ee3aea95e2 added tests 2012-04-13 10:39:02 +02:00
David Halter 5f21f56330 test suite for completion added 2012-04-12 15:47:33 +02:00
David Halter 21c489e90f rename test to create a place for tests 2012-04-12 01:08:16 +02:00
David Halter 46c4e4139a python2.5 compatibility again 2012-04-09 18:58:54 +02:00
David Halter f0c00e4ff7 python2.5 compatibillity 2012-04-09 18:47:47 +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 1c8438cc00 removed old code 2012-04-09 17:19:32 +02:00
David Halter 679144ef72 module caching 2012-04-09 14:27:49 +02:00
David Halter 429a8eedb3 module imports are working now 2012-04-09 00:27:10 +02:00
David Halter baf8c60e9a the auto completion is working! and may god bless you all! ;-) 2012-04-08 04:25:06 +02:00
David Halter f91fb8027e little bugfix 2012-04-07 21:16:49 +02:00
David Halter 527fdcd6a2 preparation for vim 2012-04-07 21:13:27 +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 1a7c09e002 decorators to prevent recursion 2012-04-07 03:31:52 +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 09fcff0f91 reverse use of tokenize, to get the command under the cursor 2012-04-06 04:02:34 +02:00
David Halter 1724a64e8d removed some merge conflicts again 2012-04-05 19:48:27 +02:00
David Halter 412442821a resolved merge conflict, don't know where it came from 2012-04-05 18:54:58 +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 118908f311 import work - including star imports 2012-04-01 21:35:52 +02:00
David Halter 2eff4e731a readability in evaluate.py 2012-03-31 22:24:40 +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 6c377d6e91 cache and executions work now recursive 2012-03-25 12:59:04 +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
David Halter 64a60f603c instance and execution classes added 2012-03-21 15:06:10 +01:00
David Halter 4bd8d475c2 follow algorithm started 2012-03-20 18:46:33 +01:00
David Halter 6b8551c917 completion tests 2012-03-17 14:31:01 +01:00
David Halter b2a77acff6 statement parser - first version 2012-03-11 03:03:54 +01:00
David Halter 5332a87d39 split parsing functions file, the path following is now in evaluate.py 2012-03-10 15:34:07 +01:00
David Halter 664d1c9119 first auto complete works, with just local variables and class variables 2012-03-10 02:07:30 +01:00
David Halter 5342379eb2 under the cursor statement parser 2012-03-08 03:57:00 +01:00