Even when bOSL is a "programming language" laboratory I still think it
has lots of practical uses. Perhaps define a few more syntax features
and behavior and then work on optimizing the runtime engine.
Here is a list of things I would love to see:
1. Allow to treat classes as objects, so we can call methods and
constant values of the class. Similar to objective-c.
2. Convert event dispatchers into a global Notifications/Callback
engine. Similar to cocoa.
3. To be able to attach methods and variables to an object at runtime.
4. To be able to treat a method like a literal object. For example if I
define the following method:
doThis(param1 as string, param2 as integer)
then I can say this:
doThis.param1 = "Jose"
doThis.param2 = 225
doThis.run()
I already changed bOSL so parameters are static by default. So when I
call this function a second time I can skip the parameters and just
call the run() method or modify only the parameters I need to change.
5. Add error/exception handling.
6. Operator overloading
7. Convert methods for objects. So we can cast an object into another
other datatype.
8. To compile to an iCode (intermediate code) that can be executed
faster by skipping the parsing.
9. Convert all data types into objects.