Re: [Pharo-users] How to remove method body?

2017-12-03 Thread Stephane Ducasse
Thanks steven I was finally doing | newTree | newTree := (ObjSkeletonMock >> #methodToSkeletonize2) ast body: (ObjSkeletonMock >> #returnSelf) ast body. newTree formattedCode. ObjSkeletonMock compile: newTree formattedCode classified: #foo On Sun, Dec 3, 2017 at 11:45 PM, Steven Costiou

Re: [Pharo-users] Simplifying a File reference (Ben Coman)

2017-12-03 Thread Alistair Grant
On 4 December 2017 at 01:48, Ben Coman wrote: > > > On 4 December 2017 at 08:25, Richard A. O'Keefe wrote: >> >> >> Ben Coman wrote: >>> >>> While 'canonicalize' obviously fits, it seems a bit exotic and a tongue >>> twist at five

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-03 Thread horrido
Speaking of which, one of my readers said he tried out Pharo recently and found the documentation wanting. He was expecting a Getting Started guide at the pharo.org website and couldn't find one. So he had to blunder around a bit. I told him he could've looked at "Chapter 2: A quick tour of

Re: [Pharo-users] Simplifying a File reference (Ben Coman)

2017-12-03 Thread Ben Coman
On 4 December 2017 at 08:25, Richard A. O'Keefe wrote: > > Ben Coman wrote: > >> While 'canonicalize' obviously fits, it seems a bit exotic and a tongue >> twist at five syllables. >> I wonder if 'flatten' might also be suitable. Is there some concept

Re: [Pharo-users] Simplifying a File reference (Ben Coman)

2017-12-03 Thread Richard A. O'Keefe
Ben Coman wrote: While 'canonicalize' obviously fits, it seems a bit exotic and a tongue twist at five syllables. I wonder if 'flatten' might also be suitable. Is there some concept this wouldn't cover? There are two distinct issues. (1) Can this file name be put into

Re: [Pharo-users] How to remove method body?

2017-12-03 Thread Steven Costiou
For example that works for me: |ast| ast := (MyClass >> #printOn:) ast. ast body: (MyClass >> #returnSelf) ast body. MyClass compile: ast newSource Le 2017-12-03 23:42, Steven Costiou a écrit : > Hi, > > just after your modifications, from the compiled method try: > > ObjSkeletonMock

Re: [Pharo-users] How to remove method body?

2017-12-03 Thread Steven Costiou
Hi, just after your modifications, from the compiled method try: ObjSkeletonMock compile: self ast newSource Maybe not the most elegant but it works. Steven. Le 2017-12-03 22:31, Stephane Ducasse a écrit : > Hi > > to prepare some code for students I want to convert methods into a >

[Pharo-users] How to remove method body?

2017-12-03 Thread Stephane Ducasse
Hi to prepare some code for students I want to convert methods into a kind of method skeleton ie printOn: aStream "super nice comment" lk;lk; kl;;kl k;lkl;k ^ 42 into printOn: aStream "super nice comment" ^ self any idea? In the past I know that we could access the

Re: [Pharo-users] PharoThings - Metacello installation broken

2017-12-03 Thread Denis Kudriashov
Thank's for report. I fixed it. Try again. I will set up travis to cover such problems. I never tested it on fresh computer 2017-12-03 16:48 GMT+01:00 bachitoph : > Hi, > I'm just trying https://github.com/pharo-iot/PharoThings. But if > installing > the client side as

Re: [Pharo-users] Glorp v130 call for testing

2017-12-03 Thread Alistair Grant
On 1 December 2017 at 13:46, Alistair Grant wrote: > Hi Everyone, > > There haven't been any complaints about the merged version, and Glorp > fails to load #development on Pharo 7, so I'm planning to update > ConfigurationOfGlorp to: > > - Work on Pharo7 when given the

[Pharo-users] PharoThings - Metacello installation broken

2017-12-03 Thread bachitoph
Hi, I'm just trying https://github.com/pharo-iot/PharoThings. But if installing the client side as suggested below. Install the client part of PharoThings in the development (client) Pharo image: Metacello new baseline: 'PharoThings'; repository: 'github://pharo-iot/PharoThings/src'; load: