-
The simplest form of type-checking (or prototyping?) is to specifiy a thinobject class, but other forms are needed as well, e.g., to check for files or perhaps numbers, etc.
To achieve the former I added support for the option-like file test operators for bash, but this makes the facility rather tied in to bash in that regard, and offers no hope to check for numbers or patterns.
So the...
2009-02-07 00:17:48 UTC in thinobject
-
I started implemented something similar to the previous scheme, ending up with the following:
* - method fails with special type-error value
* - enabler runs method again to get prototype string
* - enabler scans argument list against protype, maybe fails
* - enabler invokes method to actually do something
This involves invoking the method 3 times, first to get the type error value...
2009-02-03 19:08:26 UTC in thinobject
-
I've had a couple of CS guys strongly suggest that strict type checking would be needed for my thinobject system to be minimally worthy of consideration. I think I've come with a way to do that. This scheme would be optional by method, and would impose no cost if not used.
Consider invoking a method on an object where another object is an argument, e.g.,
a.f b
Currently, method f...
2009-02-01 20:48:13 UTC in thinobject
-
kirv committed patchset 1 of module thinobject to the thinobject CVS repository, changing 2 files.
2006-11-21 10:31:13 UTC in thinobject
-
kirv committed patchset 10 of module cardstock to the CardStock CVS repository, changing 1 files.
2006-11-21 08:16:11 UTC in CardStock
-
kirv registered the thinobject project.
2006-11-14 12:05:26 UTC in thinobject
-
kirv committed patchset 9 of module cardstock to the CardStock CVS repository, changing 1 files.
2001-05-09 18:07:08 UTC in CardStock
-
kirv committed patchset 8 of module cardstock to the CardStock CVS repository, changing 1 files.
2001-05-09 17:19:46 UTC in CardStock
-
kirv committed patchset 7 of module cardstock to the CardStock CVS repository, changing 1 files.
2001-05-09 17:13:43 UTC in CardStock
-
kirv committed patchset 6 of module cardstock to the CardStock CVS repository, changing 1 files.
2001-05-09 04:15:54 UTC in CardStock