Dave Halter
|
bad1f85f8f
|
Improvements towards arrays / predefined names logic.
|
2016-11-25 23:31:45 +01:00 |
|
Dave Halter
|
31514dfe76
|
Fix a lot on PEP 484.
|
2016-11-14 23:29:09 +01:00 |
|
Dave Halter
|
03aa630932
|
Fixed all generator tests.
|
2016-11-14 20:57:46 +01:00 |
|
Dave Halter
|
b2bdfe4a28
|
Array fixes except for conversions.
|
2016-11-13 16:18:46 +01:00 |
|
Dave Halter
|
c537d360f3
|
More fixes to *args type inference.
|
2016-10-30 01:35:36 +02:00 |
|
Dave Halter
|
75b67af000
|
Starting to improve function calls.
|
2016-10-22 21:02:15 +02:00 |
|
Dave Halter
|
c9a5caa96e
|
Fix: dicts lookups were not working in all cases.
|
2015-12-08 22:37:30 +01:00 |
|
Dave Halter
|
bef5fca516
|
Refactor compiled.CompiledObject so it always owns an evaluator instance.
|
2015-12-08 02:19:33 +01:00 |
|
Dave Halter
|
62468fb402
|
reversed and for loops now produce strings in the correct order.
|
2015-10-14 16:50:26 +02:00 |
|
Dave Halter
|
844a011193
|
Replacing the types list with a types set. Some tests are failing, though.
|
2015-10-13 18:03:36 +02:00 |
|
Dave Halter
|
ef4b424cda
|
Replace pr with tree, #566.
|
2015-04-28 01:34:31 +02:00 |
|
Dave Halter
|
5334f8dbad
|
Implemented the in operator in a very simple fashion: It returns nothing.
|
2015-01-09 16:05:09 +01:00 |
|
Dave Halter
|
47615ae786
|
Remove pr.Array.type identifiers.
|
2014-12-19 01:05:52 +01:00 |
|
Dave Halter
|
4897791901
|
Remove old precedence stuff.
|
2014-12-16 18:28:45 +01:00 |
|
Dave Halter
|
a96d1b8d0f
|
fix something with not/- prefixes.
|
2014-12-04 17:51:14 +01:00 |
|
Dave Halter
|
c152a1c58b
|
Actually replace tree with representation (in all the imports).
|
2014-11-23 19:46:52 +01:00 |
|
Dave Halter
|
56102e408e
|
Small glitch with the change of return statements to loops in precedences.
|
2014-11-06 04:06:40 +01:00 |
|
Dave Halter
|
d58046f38f
|
Changed normal precedence calculation.
|
2014-11-06 03:47:42 +01:00 |
|
Dave Halter
|
fae798adfe
|
Simplify precedence.factor_calculate.
|
2014-11-05 23:21:32 +01:00 |
|
Dave Halter
|
42d6b57599
|
precedence._is_string -> precedence.is_string
|
2014-09-04 14:13:26 +02:00 |
|
Dave Halter
|
f7a1c110ba
|
Fix remaining issues with CompiledName.name change.
|
2014-09-03 19:47:37 +02:00 |
|
Dave Halter
|
bb5ffe9343
|
CompiledObject.name returns a Name now, not a string. This is more consistent with the Jedi design and doesn't lead to bugs while ducktyping.
|
2014-09-03 19:43:21 +02:00 |
|
Dave Halter
|
6ba0b7b81e
|
lower than/greater than operators evaluate to a boolean now. This is not a 100% correct, because it doesn't evaluate __gt__, etc. But that's ok for now.
|
2014-08-22 00:26:55 +02:00 |
|
Dave Halter
|
2a964d4e48
|
Also implement the or operator.
|
2014-08-20 16:28:04 +02:00 |
|
Dave Halter
|
148d17b3be
|
Implementation of the and operation.
|
2014-08-20 16:21:33 +02:00 |
|
Dave Halter
|
d6dd7cd55e
|
Move process_precedence_element from the Evaluator to the precedence module.
|
2014-08-20 15:59:37 +02:00 |
|
Dave Halter
|
09ca47fa93
|
Introduce a dedicated isinstance function implementation.
|
2014-08-19 23:57:59 +02:00 |
|
Dave Halter
|
eeac77d360
|
Also support the not operator.
|
2014-08-12 18:09:59 +02:00 |
|
Dave Halter
|
8ed89e8245
|
implement !=, ==, is, is not operators to work in if statements (they also work in in non if contexts and return a bool value.), includes tests.
|
2014-08-12 17:59:19 +02:00 |
|
Dave Halter
|
5e9d9573d5
|
Don't warn on addition of an int literal plus an unknown int number.
|
2014-07-22 16:44:10 +02:00 |
|
Dave Halter
|
f7c8c43fbc
|
check not only - but also + for numbers.
|
2014-07-22 16:18:57 +02:00 |
|
Dave Halter
|
852cdad754
|
Operator fixes. Subclass of Simple, now.
|
2014-07-22 16:02:34 +02:00 |
|
Dave Halter
|
15f42d93d7
|
it should be possible to find the origin of an operation, if it's a faulty one (static analysis)
|
2014-07-22 14:52:58 +02:00 |
|
Dave Halter
|
50ceef6e09
|
1 + '1' TypeErrors are now detected, but not shown in the right place
|
2014-07-22 10:44:56 +02:00 |
|
Dave Halter
|
bdcbac160b
|
fix string/array (sequence) multiplications with integer.
|
2014-06-26 00:49:56 +02:00 |
|
Dave Halter
|
c6aea92753
|
fix issues with tokens in expression list
|
2014-06-10 11:03:36 +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
|
77baabb93b
|
% operation returned both left and right side, but only the left side is really important.
|
2014-05-19 13:26:12 +02:00 |
|
Dave Halter
|
bc7896f93d
|
unicode issues in usage matching
|
2014-04-29 12:20:25 +02:00 |
|
Dave Halter
|
c790f88678
|
speed up precedences.
|
2014-04-25 13:28:01 +02:00 |
|
Dave Halter
|
4ae99256be
|
py3.0, py3.1 and py32 don't support unicode literals. Support those.
|
2014-04-22 16:00:13 +02:00 |
|
Dave Halter
|
b685101efb
|
Nothing + string literal should not result in string literal but in a string type (because we don't know how the string literal could have looked like
|
2014-04-22 15:16:48 +02:00 |
|
Dave Halter
|
eaf54942fc
|
fix a slice issue with precedences.
|
2014-04-21 02:30:17 +02:00 |
|
Dave Halter
|
ab154d46d5
|
fixed a very nasty problem with exponential growth in precedence for loops
|
2014-04-20 12:42:53 +02:00 |
|
Dave Halter
|
4bc55be103
|
significant speedup due to compiled caching
|
2014-04-13 16:31:38 +02:00 |
|
Dave Halter
|
09854ae6ca
|
negative factors like -1 are now evaluated
|
2014-04-04 15:07:45 +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
|
af7814c6d4
|
enable assignment operators and add substraction support for numbers
|
2014-03-10 16:51:47 +01:00 |
|
Dave Halter
|
b22c9c96f2
|
string additions also work now - be prepared #24!
|
2014-03-09 12:36:17 +01:00 |
|
Dave Halter
|
70e1970f40
|
plus on numbers is now basically working
|
2014-03-09 12:27:03 +01:00 |
|