Dave Halter
|
f1711f8f9c
|
possible direction of branch checks for name resolution.
|
2014-08-10 13:17:37 +02:00 |
|
Dave Halter
|
0fbd5efefd
|
wrap instance element creation so that it only contains functions and statements, not CompiledObject or Instance.
|
2014-07-31 13:16:11 +02:00 |
|
Dave Halter
|
cf63d20988
|
get rid of the evaluate_generator param
|
2014-07-30 16:36:27 +02:00 |
|
Dave Halter
|
e58dc0a3d9
|
simplify evaluator.execute, because now everything is using py__call__
|
2014-07-30 15:40:10 +02:00 |
|
Dave Halter
|
373ff2c45a
|
fix most issues related to the py__call__ stuff and generalize it.
|
2014-07-30 15:23:41 +02:00 |
|
Dave Halter
|
1e6a950aec
|
further progress in changing to py__call__
|
2014-07-30 14:40:56 +02:00 |
|
Dave Halter
|
22e5574a91
|
Remove some get_defined_names methods, that are not needed anymore.
|
2014-07-03 12:12:50 +02:00 |
|
Dave Halter
|
ea370a083d
|
more consequent usage of scope_names_generator
|
2014-07-03 11:41:33 +02:00 |
|
Dave Halter
|
a7e4d81692
|
also add scope_names_generator to the iterable module classes, as well as cleaning up some old scope_names_generator stuff
|
2014-07-02 18:58:31 +02:00 |
|
Dave Halter
|
aba4a16ae3
|
fix indexing issues for multiple index options
|
2014-06-27 11:23:46 +02:00 |
|
Dave Halter
|
f8b79b3dd0
|
work in progress refactoring to make ListComprehension a sublass of ForFlow
|
2014-06-12 10:13:49 +02:00 |
|
Dave Halter
|
af801ef9b4
|
make generator comprehensions work
|
2014-06-10 00:36:36 +02:00 |
|
Dave Halter
|
0b926ca454
|
get rid of is_list_comp boolean in favor of a direct check of ListComprehensionFlow
|
2014-06-09 20:19:31 +02:00 |
|
Dave Halter
|
cb430c4c36
|
add a merged array class to account for array additions
|
2014-06-06 02:51:48 +02:00 |
|
Dave Halter
|
64af9524b7
|
simple generator static analysis subscript check
|
2014-05-12 16:06:28 +02:00 |
|
Dave Halter
|
b6ec589997
|
refactor general array lookup method get_index_types
|
2014-05-12 15:23:48 +02:00 |
|
Dave Halter
|
44d8abb198
|
fix for the recursive ArrayInstance issues.
|
2014-04-30 12:20:28 +02:00 |
|
Dave Halter
|
8dc7f6a771
|
small NO_DEFAULT fix for a memoize issue with iterable.Array
|
2014-04-22 10:29:06 +02:00 |
|
Dave Halter
|
2a0423302c
|
small evaluate.iterable.Array optimization
|
2014-04-22 10:13:23 +02:00 |
|
Dave Halter
|
eaf54942fc
|
fix a slice issue with precedences.
|
2014-04-21 02:30:17 +02:00 |
|
Dave Halter
|
240b0c9581
|
NamePart doesn't have an __eq__ method anymore
|
2014-04-18 14:36:10 +02:00 |
|
Dave Halter
|
ff810d9ece
|
cache compiled.CompiledObject.defined_names attribute, improves test suite performance by 20%, numpy by more than 50%. Awesome!
|
2014-04-14 02:20:22 +02:00 |
|
Dave Halter
|
3fced34544
|
the last commit featured an incomplete caching for compiled objects. The current one should improve this.
|
2014-04-13 21:55:29 +02:00 |
|
Dave Halter
|
79e2ec85cc
|
implement slicing for __getitem__ with interpreter
|
2014-04-04 15:09:25 +02:00 |
|
Dave Halter
|
50ef3c7fa3
|
implement __getitem__ access for CompiledObject
|
2014-04-04 12:59:16 +02:00 |
|
Dave Halter
|
f7e236971b
|
moved the input of get_index_types to a more typical type system
|
2014-04-04 12:09:46 +02:00 |
|
Dave Halter
|
84fde13b84
|
implemented a first prototype of a slicing and index creation function
|
2014-04-03 21:10:42 +02:00 |
|
Dave Halter
|
394e2e77de
|
refactored the development docs, which was badly needed especially since evaluate/dynamic.py doesn't contain a lot of functionality anymore.
|
2014-03-11 17:26:38 +01:00 |
|
Dave Halter
|
6c5e91da69
|
some code - just written for @dbrgn
|
2014-03-10 23:08:09 +01:00 |
|
Dave Halter
|
e587b876b6
|
tests and improvements for __next__ and send generator methods
|
2014-01-23 20:02:36 +01:00 |
|
Dave Halter
|
162d794081
|
underscore_decorators now automatically convert generators to lists
|
2014-01-23 15:21:52 +01:00 |
|
Dave Halter
|
a1b68945ed
|
fix some generator parents
|
2014-01-23 14:27:20 +01:00 |
|
Dave Halter
|
d5aa36cc69
|
replace propery with safe_property in some evaluate cases. fixes #249
|
2014-01-15 15:07:06 +01:00 |
|
Dave Halter
|
99882724da
|
is_py3k -> is_py3
|
2014-01-14 11:43:56 +01:00 |
|
Dave Halter
|
cdd356ff9b
|
removed pr.String and pr.Number in favor of the more general pr.Literal
|
2014-01-13 16:47:01 +01:00 |
|
Dave Halter
|
682e1c2708
|
debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner
|
2014-01-13 16:16:07 +01:00 |
|
Dave Halter
|
83b490dd6d
|
PyObject -> CompiledObject, PyName -> CompiledName
|
2014-01-13 14:09:03 +01:00 |
|
Dave Halter
|
4006b231d3
|
fix a few last standing issues with integration tests. ok after running tests with tox i see that they are not the last issues...
|
2014-01-12 00:34:56 +01:00 |
|
Dave Halter
|
d430ef53a7
|
fix a few more minor issues
|
2014-01-11 16:14:58 +01:00 |
|
Dave Halter
|
fc35e69a16
|
adding helpers.FakeName and other fakes to make it easier to fake parser names and statements
|
2014-01-11 13:41:03 +01:00 |
|
Dave Halter
|
9056dc1b9b
|
fixed some array indexing
|
2014-01-09 19:55:00 +01:00 |
|
Dave Halter
|
11e2446438
|
replaced builtin with compiled in all modules except imports
|
2014-01-09 11:05:04 +01:00 |
|
Dave Halter
|
a74b7299e2
|
scan_statement -> scan_statement_for_calls
|
2014-01-07 15:10:19 +01:00 |
|
Dave Halter
|
359f3ed4a9
|
also moved scan_statement away from dynamic
|
2014-01-07 15:06:11 +01:00 |
|
Dave Halter
|
53dbec52ab
|
use find_types instead of find_names
|
2014-01-06 14:29:23 +01:00 |
|
Dave Halter
|
0c62d7d0d9
|
evaluate.iterable also owns get_iterator_types now
|
2013-12-30 01:56:40 +01:00 |
|
Dave Halter
|
6ece1de22d
|
move some imports around
|
2013-12-30 01:49:01 +01:00 |
|
Dave Halter
|
7b936cf6ec
|
move dynamic array stuff to evaluate.iterable
|
2013-12-30 01:38:15 +01:00 |
|
Dave Halter
|
e4692381cb
|
created evaluate.iterable to push arrays and generators into a seperate file
|
2013-12-30 01:02:18 +01:00 |
|