[e-lang] why support var patterns for object names?

Dean Tribble tribble at e-dean.com
Wed Sep 27 21:19:16 CDT 2006


I'm currently getting the E-on-Squeak up to the current model, and am
working on the ObjectExpr piece (well, last weekend).  ObjectExprs now have
a pattern as their name in the parse grammars instead of generating FQDN
strings (yay).  In 0.8.37, it can be a def pattern or a var pattern (but not
a bind pattern).  I was wondering why the pattern is allowed to be anything
other than a def pattern.  Said differently,  why is it interesting to
support:

var x {
   to zot() :any { return x }
}

In kernel (or even in full-E)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/e-lang/attachments/20060927/44669e16/attachment.html 


More information about the e-lang mailing list