loading petitParser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

loading petitParser

Stephane Ducasse-3
Hi 

in the deep into pharo book it is written

Gofer new

smalltalkhubUser: 'Moose' project: 'PetitParser'; package: 'ConfigurationOfPetitParser';

load.

(Smalltalk at: #ConfigurationOfPetitParser) perform: #loadDefault


But this is not correct. There is no loadDefault. 

Should I change it? 


Stef

Reply | Threaded
Open this post in threaded view
|

Re: loading petitParser

demarey
yes because the current way to load projects is:

Metacello new
  configuration: 'PetitParser';
  smalltalkhubUser: 'Moose' project: 'PetitParser';
  load.

if you want to load a specific group, you should use the #load: message (current groups are Core, Tests, Parser and  ParserIDE). Default will load all.

Le 28 mars 2017 à 10:02, Stephane Ducasse <[hidden email]> a écrit :

Hi 

in the deep into pharo book it is written

Gofer new

smalltalkhubUser: 'Moose' project: 'PetitParser'; package: 'ConfigurationOfPetitParser';

load.

(Smalltalk at: #ConfigurationOfPetitParser) perform: #loadDefault


But this is not correct. There is no loadDefault. 

Should I change it? 


Stef


Reply | Threaded
Open this post in threaded view
|

Re: loading petitParser

Stephane Ducasse-3
I will update the book 
because this pointer does not work either

On Tue, Mar 28, 2017 at 11:48 AM, Christophe Demarey <[hidden email]> wrote:
yes because the current way to load projects is:

Metacello new
  configuration: 'PetitParser';
  smalltalkhubUser: 'Moose' project: 'PetitParser';
  load.

if you want to load a specific group, you should use the #load: message (current groups are Core, Tests, Parser and  ParserIDE). Default will load all.

Le 28 mars 2017 à 10:02, Stephane Ducasse <[hidden email]> a écrit :

Hi 

in the deep into pharo book it is written

Gofer new

smalltalkhubUser: 'Moose' project: 'PetitParser'; package: 'ConfigurationOfPetitParser';

load.

(Smalltalk at: #ConfigurationOfPetitParser) perform: #loadDefault


But this is not correct. There is no loadDefault. 

Should I change it? 


Stef