Project Updates

Wednesday, September 29, 2010

Update - abolishing ->

In the midst of a cleanup.  Decided that I don't have a use for a revamped module internals wordset yet, instead I added a couple needed features. 

1) Now you can jump to a method implementation in the source using the convention ":".  

2) A new kind of method, the "xmethod", or "external method", methods intended to face outside, complementing their non-method counterparts.  Work like normal methods but always requires the module to be on the stack.  I'm in the process of abolishing "->", so this is one step towards that goal.  The rule is, if a method is generally meant to be an interface to the OUTSIDE, make it external.  If it is used internally only, make it a normal one.  Once -> is gone though, { } clauses or AS will be the only ways to use normal methods.

3) Because you occasionally have to call external methods from a { } clause, I added a shorthand for THIS, the dollar sign ("$").

No comments:

Post a Comment