K. Lange
|
542e219192
|
Redefine list comprehension and add infix in
|
2021-01-02 19:46:21 +09:00 |
|
K. Lange
|
7b506e6190
|
actually use OP_CALL_LONG
|
2021-01-02 12:52:12 +09:00 |
|
K. Lange
|
9211b04fc1
|
Add 'else if'; don't do Python's elif thing, I don't like that.
|
2021-01-02 12:13:01 +09:00 |
|
K. Lange
|
ae2e2be15d
|
do something more straightforward and useful for methods on non-objects
|
2021-01-01 16:02:16 +09:00 |
|
K. Lange
|
9a370f00e1
|
Add continue/break statements
|
2020-12-31 16:59:51 +09:00 |
|
K. Lange
|
0b2c9df58f
|
shove list comprehensions into their own fake call frames because everything is terrible
|
2020-12-30 22:30:09 +09:00 |
|
K. Lange
|
33f7561076
|
List comprehensions, and several gc+scoping fixes along the way
|
2020-12-30 21:57:13 +09:00 |
|
K. Lange
|
a5928b18c9
|
bite the bullet and rename length() to __len__()
|
2020-12-30 15:50:26 +09:00 |
|
K. Lange
|
b0c2772937
|
switch some type conversions to bound methods
|
2020-12-29 16:40:42 +09:00 |
|
K. Lange
|
2c18402d40
|
escape sequences in strings
|
2020-12-29 16:26:00 +09:00 |
|
K. Lange
|
a0d52a61f2
|
add an exception mechanism
|
2020-12-29 11:00:12 +09:00 |
|
K. Lange
|
ba73f5a32a
|
move stray test into test/
|
2020-12-29 08:25:36 +09:00 |
|
K. Lange
|
0f7bc84ad3
|
for loops must open a new scope around their blocks as well or they won't pop locals before the loop finishes
|
2020-12-29 08:23:18 +09:00 |
|
K Lange
|
e9261a2f56
|
change size of integers to long
|
2020-12-28 16:32:40 +09:00 |
|
K. Lange
|
3ba8025eeb
|
lots of fixups so we can create dicts from the vm
|
2020-12-28 20:38:26 +09:00 |
|
K. Lange
|
cdcbf6cf54
|
First pass at module/builtin cleanup
|
2020-12-28 19:01:28 +09:00 |
|