K. Lange
|
e46d753999
|
Basic support for keyword arguments when calling functions.
|
2021-01-03 12:09:41 +09:00 |
|
K. Lange
|
542e219192
|
Redefine list comprehension and add infix in
|
2021-01-02 19:46:21 +09:00 |
|
K. Lange
|
b1b747b234
|
Some improvements to debug output before I move on to a marshalling format
|
2021-01-02 13:42:07 +09:00 |
|
K. Lange
|
6164c3ebf4
|
General code cleanup.
|
2021-01-02 12:21:11 +09:00 |
|
K. Lange
|
fe89d5fae2
|
inlined function instruction wasn't in dissassembler
|
2021-01-01 21:13:49 +09:00 |
|
K. Lange
|
b42844f842
|
Fully internalize list+dict core methods and implement invokes for getters/setters
|
2021-01-01 20:52:18 +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
|
1dca833d6f
|
add assignment shortcut operators (probably not worth using until optimizations are in place)
|
2021-01-01 10:42:16 +09:00 |
|
K. Lange
|
58132eedf8
|
Add binary operators
|
2021-01-01 08:55:39 +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
|
f7e1c0da0d
|
Add docstrings, __doc__, and help()
|
2020-12-30 16:59:21 +09:00 |
|
K Lange
|
9fd9d81afe
|
eliminate arbitrary size restrictions where possible
|
2020-12-29 06:33:16 +09:00 |
|
K. Lange
|
a0d52a61f2
|
add an exception mechanism
|
2020-12-29 11:00:12 +09:00 |
|
K Lange
|
b32dde0431
|
add % operator
|
2020-12-28 16:32:27 +09:00 |
|
K Lange
|
ac15ca117c
|
Clean up some pedantic warning stuff
|
2020-12-28 11:11:50 +09:00 |
|
K. Lange
|
4982881235
|
that's a lot of stuff and pretty much finishes the book; need to do optimizations
|
2020-12-27 22:40:35 +09:00 |
|
K. Lange
|
1f754ebc01
|
not exactly how modules work in Python, but, uh, good enough for us for now
|
2020-12-27 18:55:52 +09:00 |
|
K. Lange
|
0ca0564cd0
|
methods/initializers; haven't done invoke, want to add modules first then come back
|
2020-12-27 17:53:46 +09:00 |
|
K. Lange
|
f88e8de25d
|
classes and instances (from ch 27)
|
2020-12-27 16:45:34 +09:00 |
|
K. Lange
|
78022fb701
|
wrap up closure implementation from chapter 25
|
2020-12-27 13:02:26 +09:00 |
|
K. Lange
|
81e3e133c8
|
finish up chapter 24 (functions, calls, native bindings)
|
2020-12-27 09:33:28 +09:00 |
|
K. Lange
|
df7ca60bdf
|
and that's chapter 23...
|
2020-12-26 20:39:47 +09:00 |
|
K. Lange
|
aab01f01f7
|
Finish up chapter 22, local variables; fix up indentation-based scoping
|
2020-12-26 18:39:29 +09:00 |
|
K. Lange
|
928047f1db
|
Completed chapter 21, global variables
|
2020-12-26 16:53:15 +09:00 |
|
K. Lange
|
14aeea5f5b
|
through chapter 19 of Crafting Interpreters
|
2020-12-26 09:32:21 +09:00 |
|