Browse Source

Removed Exceptions and Method Calls sections.
Added Debug/Reflection section.

woollybah 11 năm trước cách đây
mục cha
commit
24d1b01f8c
1 tập tin đã thay đổi với 4 bổ sung19 xóa
  1. 4 19
      TODO.md

+ 4 - 19
TODO.md

@@ -1,8 +1,10 @@
 TODO
 ====
 
-Exceptions
-Debug
+Debug / Reflection
+------------------
+Need to find a way to store the data that the debugger and reflection uses.
+Will need to calculate field/method offsets at generation-time. This will vary depending on the architecture we are building on.
 
 Private/Public
 --------------
@@ -12,23 +14,6 @@ OpenGL/EGL
 ----------
 See what needs to be done to port GL to EGL (for such platforms as the RPi)
 
-Solve the Method Calls problem
-------------------------------
-There is an issue with the way the following code is currently handled :
-
-pixmap.Window(n*8,0,8,16).Copy()
-
-By definition, a method requires an instance of the object in order to look up the correct method to call. So in this case, the result from Window() needs to be passed to Copy(). The current code looks like this :
-
-[pixmap_class->md_window(pixmap_obj,n*8,0,8,16)_class]->md_copy(pixmap_class->md_window(pixmap_obj,n*8,0,8,16))
-
-One option might be to pull the call to Window out into a new statement, and use the result from that to call Copy(). You'd end up with something like :
-
-tmpPixmap = pixmap_class->md_window(pixmap_obj,n*8,0,8,16);
-...
-tmpPixmap_class->md_copy(tmpPixmap)
-...
-
 Framework
 ---------
 When compiling an application with a "Framework", the framework chosen is passed down to all the imported source files and applied to them too. Without it, each imported source is assumed to have access to *all* the standard modules (and will include all of them in their interface).