Commit Graph
100 Commits
Author SHA1 Message Date
David Halter b1825621ff fixed the rest of the dynamic problems 2013-02-18 23:49:28 +04:30
David Halter c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter b2aa8b8024 get_parent_until for ListComprehension 2013-02-18 20:52:07 +04:30
David Halter 30fa504457 fix some more dynamic problems 2013-02-18 20:41:27 +04:30
David Halter 4e102e25e6 fix some of the dynamic bugs 2013-02-17 23:23:57 +04:30
David Halter 108f395670 fixed ordering.py tests 2013-02-17 22:58:13 +04:30
David Halter c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter 779ce6509d first dynamic array work 2013-02-17 22:15:11 +04:30
David Halter 79216f189f moved parsing.Simple.module to _sub_module 2013-02-17 00:30:44 +04:30
David Halter 1366f5fa61 made ListComprehensions behave more llike typical 'pr' objects 2013-02-17 00:23:43 +04:30
David Halter 89a2cb15d0 fix problems with positions in definitions with the same name on the same line 2013-02-17 00:14:30 +04:30
David Halter 8fd3910958 fix a get_code problem for instances/statements, which is not needed there, because get_code should only be called on pure parsing_representation objects 2013-02-16 23:38:07 +04:30
David Halter fb0ea354ac fix a dynamic search param problem 2013-02-14 20:58:06 +04:00
David Halter cda84dc92a add an empty IsScope class to match all scopes 2013-02-14 20:54:26 +04:00
David Halter 52b32a01c1 move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment 2013-02-11 01:21:51 +01:00
David Halter f423de1956 fix some descriptor methods 2013-02-11 01:08:45 +01:00
David Halter cae38ed3d7 fix getattr/__getattr*__ 2013-02-11 00:50:32 +01:00
David Halter f2a7788d66 fix InstanceElement get_commands (doesn't raise an error anymore, but I don't know if it works) 2013-02-11 00:21:05 +01:00
David Halter de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter da4ad7fd3f fix Name (instead of Param) as param key 2013-02-10 23:57:20 +01:00
David Halter 5722cd2382 fix parts of helpers.search_function_definition 2013-02-10 22:40:28 +01:00
David Halter 01c48593bf er.Array is now also iterable 2013-02-10 21:15:04 +01:00
David Halter df17c98061 fixed the whole var args iterator stuff 2013-02-10 16:59:51 +01:00
David Halter a091ee92a4 fix dictionary index problems 2013-02-10 16:12:30 +01:00
David Halter fb6b3ce342 reintroduce parent and get_parent_until for er.Array, because an array is a builtin. always. 2013-02-10 15:58:02 +01:00
David Halter 7dce3cb964 param keys of dicts are statements now 2013-02-10 15:50:44 +01:00
David Halter cd49126733 improved param generator 2013-02-10 02:01:27 +01:00
David Halter 0008531a30 pr.Array takes no values param anymore 2013-02-09 03:55:56 +01:00
David Halter 22a1b2397d simple function tests pass now 2013-02-09 03:55:30 +01:00
David Halter a1e366f791 different little beauty improvements 2013-02-09 03:16:10 +01:00
David Halter 9540025a02 fixed some more array tests 2013-02-09 02:17:29 +01:00
David Halter 25b2239f6a repr corrections for Array/Statement/Call 2013-02-09 01:54:48 +01:00
David Halter ffaaa68f56 fix unnessecary bracket stuff 2013-02-09 00:00:26 +01:00
David Halter 07f4c08069 some param fixes 2013-02-08 23:16:04 +01:00
David Halter 2fef25b1b1 fixed some dict issues 2013-02-08 21:18:58 +01:00
David Halter a5e9977e94 fix first tuple assignments 2013-02-08 18:46:56 +01:00
David Halter c831bfcca1 exchanged assignment_details order (another refactoring) 2013-02-08 18:06:11 +01:00
David Halter bd393883b6 fixed assignment_detail parsing if tuples were used before = 2013-02-08 17:58:27 +01:00
David Halter 70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter d6257fffc8 make array slicing work again 2013-02-08 15:50:35 +01:00
David Halter 942c620cde make the second test pass 2013-02-08 15:24:49 +01:00
David Halter 6c0a0e889c fix start_pos of multiple elements 2013-02-08 15:14:43 +01:00
David Halter 4f060ddcd9 refactor a lot of er.Array 2013-02-08 13:09:08 +01:00
David Halter 39f43c52fe little fixes for the dynamic module 2013-02-08 12:53:14 +01:00
David Halter 94126edda8 get rid of generate_param_array 2013-02-08 12:32:19 +01:00
David Halter d82b8d5e19 remove close_brackets - not needed anymore 2013-02-08 02:43:05 +01:00
David Halter 5737e3ad1d fix __repr__ functions 2013-02-08 02:22:02 +01:00
David Halter 80d4c6e884 many refactoring fixes 2013-02-08 01:36:58 +01:00
David Halter bf298f0ef4 start to get rid of parent_stmt 2013-02-07 18:34:18 +01:00
David Halter 6d2d23cd78 docstring update for parsing_representation 2013-02-07 18:19:35 +01:00
David Halter 0eeb1036ac removed more unused methods from Array 2013-02-07 18:07:20 +01:00
David Halter f2451102c1 end_pos crap of Array 2013-02-07 17:58:44 +01:00
David Halter d6a5a3e0e7 further removals of unused code, also changes evaluate, now. 2013-02-07 17:39:54 +01:00
David Halter d2ab0fe862 basic concept for get_assignment_calls 2013-02-07 16:28:38 +01:00
David Halter edb401eb48 basic implementation of recursive array parser in statement 2013-02-07 14:06:14 +01:00
David Halter 5be5d08441 heapy debugging in run.py 2013-02-07 10:18:19 +01:00
David Halter 0e41001dd6 er.ArrayElement -> ArrayMethod 2013-02-06 18:37:56 +01:00
David Halter f3635ae75c imports docstring 2013-02-06 18:20:57 +01:00
David Halter 3530ccf69e builtin docstring 2013-02-06 16:06:59 +01:00
David Halter fa5ce843cd builtin.parse_function_doc -> _parse_function_doc 2013-02-06 15:45:37 +01:00
David Halter 59de98af67 builtin.Parser -> builtin.BuiltinModule 2013-02-06 15:42:27 +01:00
David Halter acf81225b7 modules docstring 2013-02-06 15:38:05 +01:00
David Halter eda6335cc0 refactor some parts of docstrings.py 2013-02-06 13:14:36 +01:00
David Halter 48d8b6fa2d docstrings docstr update 2013-02-06 13:06:59 +01:00
David Halter 69137a48f0 pep8 2013-02-06 13:04:27 +01:00
David Halter 8cf783f2c3 get recursion links right in sphinx dev 2013-02-06 00:20:07 +01:00
David Halter 27b162346a _compatibility docstring 2013-02-06 00:14:29 +01:00
David Halter c7627b10be recursion docstring 2013-02-06 00:08:34 +01:00
David Halter 7cb5411414 cache docstring 2013-02-05 23:55:42 +01:00
David Halter bd993af30d added recursion documentation in sphinx dev 2013-02-05 23:43:40 +01:00
David Halter 56d900b7e2 moved recursion parts from helper to recursion.py 2013-02-05 23:41:54 +01:00
David Halter 18d424f86c move refactoring warning 2013-02-05 23:34:43 +01:00
David Halter 23bdb880e4 dynamic docstring 2013-02-05 23:32:28 +01:00
David Halter 836a3ae13b refactoring warning 2013-02-05 23:27:26 +01:00
David Halter 12d9d5b9fd refactoring docstring 2013-02-05 23:25:39 +01:00
David Halter cd931c5112 docstrings.py docstring 2013-02-05 23:25:12 +01:00
David Halter 0adb0ac818 fast_parser docstring 2013-02-05 23:11:39 +01:00
David Halter 6e1d693c46 evaluate_representation docstring 2013-02-05 18:45:16 +01:00
David Halter 9be695ae8f remove 'messy' warning of evaluate docstring, because it's actually much better, now. 2013-02-05 18:45:06 +01:00
David Halter 2b64171dd7 evaluate.get_scopes_for_name -> evaluate.find_name 2013-02-05 18:27:01 +01:00
David Halter 650b96dbda improve docstrings of evaluate 2013-02-05 18:21:38 +01:00
David Halter a14471ad48 split also the parser / parser_representation docstring 2013-02-05 18:13:44 +01:00
David Halter 4020c505e3 python 2.5 compatibility 2013-02-05 17:37:16 +01:00
David Halter fccc4ccbe3 parser / evaluation representation added to sphinx dev 2013-02-05 17:34:01 +01:00
David Halter 3c1ebc02cc fix last remaining bugs of the big evaluate_representation refactoring 2013-02-05 17:21:23 +01:00
David Halter e6352ae0a2 move CachedModule and get_sys_path from builtin.py to modules.py 2013-02-05 17:17:10 +01:00
David Halter 1474dcb91c other modules also adapt to the new evaluate_representation now 2013-02-05 17:09:57 +01:00
David Halter 783ed0b2a0 cleanup - pep8 2013-02-05 17:00:17 +01:00
David Halter 9d60d7b9ea change evaluate module to cope with the new evaluate_representation 2013-02-05 16:59:02 +01:00
David Halter 9a977c46f4 split evaluate into evaluate and evaluate_representation 2013-02-05 16:52:56 +01:00
David Halter b3a0249475 fix the remaining refactoring problems 2013-02-05 16:38:39 +01:00
David Halter bc08ea9630 renamed all occurences of parsing 2013-02-05 16:29:39 +01:00
David Halter 42450f48dc change an indentifier (avoid naming collisions) 2013-02-05 16:16:58 +01:00
David Halter d372e86317 splitted parsing into parsing and parsing_representation 2013-02-05 16:15:21 +01:00
David Halter c8a483eb9c Merge pull request #120 from dbrgn/dev
Development doc fixes
2013-02-05 02:38:15 -08:00
David Halter 4e6eff5688 little evaluate docstring fix 2013-02-05 01:48:22 +01:00
David Halter 24f2ff83a5 new evaluate docstring 2013-02-05 01:43:30 +01:00
David Halter 6942cca302 fixed some sphinx references 2013-02-05 00:40:23 +01:00
David Halter ee9676a5d7 improved evaluate docstring 2013-02-05 00:39:48 +01:00
David Halter 4fc350f637 sphinx dev: make API documentation clearer 2013-02-05 00:06:44 +01:00