Hi all.. I'm moving some code from Squeak to VW and this appears to be
one of the couple of items missing.. Anyway, since this one is a bit on the odd side I thought I'd ask.. On squeak it looks like : braceWith: a "This method is used in compilation of brace constructs. It MUST NOT be deleted or altered." | array | array := self new: 1. array at: 1 put: a. ^ array _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Is your code making use of it? If so, why? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Rick Flower
If you port the construct to VW remember that VM has a Cons bytecode that takes N items off the stack and answers an Array containing them. This can be used to implement the brace construct more efficiently. I've also added a similar bytecode to the Cog Squeak VM and have an implementation of brace using it (see downloads on my blog)
On Sat, Aug 23, 2008 at 10:25 AM, Richard E. Flower <[hidden email]> wrote: Hi all.. I'm moving some code from Squeak to VW and this appears to be _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
If the actual problem is the use of brace constructors in the code, load the
package BraceConstructor from the public repository and make it a prerequisite of your package. Cheers, Joachim Am 23.08.08 19:53 schrieb Boris Popov: > Is your code making use of it? If so, why? > > Cheers! > > -Boris (via BlackBerry) > > ----- Original Message ----- > From: [hidden email] <[hidden email]> > To: VWNC List <[hidden email]> > Sent: Sat Aug 23 10:25:00 2008 > Subject: [vwnc] Array class>>braceWith: available in VW? > > Hi all.. I'm moving some code from Squeak to VW and this appears to be > one of the couple of items missing.. Anyway, since this one is a bit > on the odd side I thought I'd ask.. > > On squeak it looks like : > > braceWith: a > "This method is used in compilation of brace constructs. > It MUST NOT be deleted or altered." > > | array | > array := self new: 1. > array at: 1 put: a. > ^ array > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Boris, I am moving some code over that Ramon Leon wrote for Squeak and to be totally honest, I'm not sure exactly what it does hence my question... I can post a few lines later to show the usage pattern or you can look at his SSForms package on Squeaksource and look at the validation methods using #format calls which were not working for some reason hence my investigation...
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Joachim Geidel
Is there a recommended vm for OS X 10.2.8, or is there no version of
Visualworks for that platform? -Carl Gundel Easy Windows programming - http://www.libertybasic.com Easy web programming - http://www.runbasic.com _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
The latest version is for 10.4.x; versions prior to 7.5 might work on that,
but they won't be that stable :/ ----- Original Message ----- From: "Carl Gundel" <[hidden email]> To: <[hidden email]> Sent: Sunday, August 24, 2008 5:40 PM Subject: [vwnc] VW on OS X 10.2.x? > Is there a recommended vm for OS X 10.2.8, or is there no version of > Visualworks for that platform? > > -Carl Gundel > Easy Windows programming - http://www.libertybasic.com > Easy web programming - http://www.runbasic.com > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |