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
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
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
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
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
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
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
>
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
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
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
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:
11 matches
Mail list logo