I do not think it ever worked in Pharo. However, we might be able to corrupt the workaround I posted into changes to Pharo's scanner and Shout (if needed) to get it to work. Bill ________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Mariano Martinez Peck Sent: Monday, May 18, 2009 9:19 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Underscores in selectors mmmm I think I am a bit dizzy with the versions. I just download 10250 again (the one I thought worked) but, as you ask, it isn't working. Sorry for the noise. So, this never worked on pharo? In squeak it works, so I guess it's a pharo change in somewhere. That's why I though in new compiler that Pharo has but squeak doesn't. Thanks! Mariano On Mon, May 18, 2009 at 1:13 PM, Adrian Lienhard <adi@netstyle.ch> wrote: Mariano, are you sure underscores worked in previous versions of Pharo? Adrian On May 18, 2009, at 15:06 , Schwab,Wilhelm K wrote:
Helloa all,
I'd really like to second Mariano's request for a work-around, and I might even be able to post one shortly. I did not write it, but it tweaks (at least the old) scanner to accept underscores in any but the first position of a selector. That might meet Mariano's need, and would cover most of mine related to RDBs as well. For external interfacing, it would further be important to be able to use them in class names, but nobody gave me a workaround for that :)
One thing that I wonder about is whether Shout will adapt with the change??? I will look for it and apply shortly and just see what happens. If it works, I'll spread it around. I should have tried it in Pharo a long time ago. I'll try to report back in an hour or two.
Bill
________________________________ From: pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> [mailto:pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> ] On Behalf Of Mariano Martinez Peck Sent: Monday, May 18, 2009 7:58 AM To: Pharo Development Subject: [Pharo-project] Underscores in selectors
Hi folks! I am trying to make Glorp work on Pharo but I am having problems with '_' in selectors.
The standard of tables with databases involve _ when having more than a word. Example TB_BANK_ACCOUNT.
Glorp needs a method like this: tableForTB_BANK_ACCOUNT
In pharo 250 it works, but in latests Pharo releases this doesn't work. I know Stef said it could be for 1.1 but I need to ask: is there a workaround a hack or a quick fix so that I can progress with the port of GLORP ? can this have to be with new compiler ?
Thanks
Mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project