Re: [Pharo-users] #ast vs. #parseTree

2018-05-03 Thread Francisco Garau
o Polito wrote: > > I don't think so... any compiler book talks about ASTs using acronyms. > Acronyms are good when acronyms are good. > >> Le jeu. 3 mai 2018 à 20:48, Esteban A. Maringolo a >> écrit : >> +1 to avoid acronyms. >> >> Esteban A. Mari

Re: [Pharo-users] #ast vs. #parseTree

2018-05-03 Thread Francisco Garau
I'd rather be also explicit in the name and avoid acronyms. #newAbstractSyntaxTree and #cachedAbstractSyntaxTree - Francisco > On 3 May 2018, at 09:59, Guillermo Polito wrote: > > Ahh explicitness :) > >> On Thu, May 3, 2018 at 10:56 AM, Tudor Girba wrote: >> How about: #newAst & #cachedAst

Re: [Pharo-users] loading Coral from SmalltalkHub

2015-06-07 Thread Francisco Garau
Hi Ben, Thanks for your comments. There's another aspect of the syntax changes I am playing with. The intention is to make more evident the relationship between objects and closures as they could be implemented in terms of each other (see below article from Vassily on the subject). http://live.ex

Re: [Pharo-users] loading Coral from SmalltalkHub

2015-06-06 Thread Francisco Garau
Hi Stef, On 6 June 2015 at 06:55, stepharo wrote: > > > Le 5/6/15 21:37, Francisco Garau a écrit : > > Thanks Stefan. > > I am playing with the Coral image downloaded from the CI site. > > > ok now again pay attention. The syntax is not important and stable. &g

Re: [Pharo-users] loading Coral from SmalltalkHub

2015-06-05 Thread Francisco Garau
tephan Eggermont a écrit : > > On 04-06-15 01:46, Francisco Garau wrote: >> >>> I've tried loading Coral by following the below instructions in its >>> website <http://rmod.lille.inria.fr/coral/getting-started.html> but they >>> failed when trying to l

[Pharo-users] loading Coral from SmalltalkHub

2015-06-03 Thread Francisco Garau
Hello, I've tried loading Coral by following the below instructions in its website but they failed when trying to load Readline. Gofer new url: 'http://ss3.gemstone.com/ss/coral'; package: 'ConfigurationOfCoral'; load. Configuration

Re: [Pharo-users] Self-removing announcement subscription?

2014-10-27 Thread Francisco Garau
Just a thought, but wouldn't it better to have a method called #subscribeOnce:do: and let it handle the subscription removal? - Francisco > On 25 Oct 2014, at 13:42, "Jan B." wrote: > > Hi all > > Today I come with a question regarding announcements. > I would like to make announcement subsc

[Pharo-users] [OT] Block challenge

2013-10-16 Thread Francisco Garau
There is a missing line that makes the below evaluate to true. Can you spot it? [ | pointClass setX setY squared | pointClass := [ | x y | setX := [ :aNumber | x := aNumber ]. setY := [ :aNumber | y := aNumber ]. squared := [ (x * x) + (y * y) ]. #end. ]. setX value: 3. setY value: 4. squared