How to load the PetitPHPParser?

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

How to load the PetitPHPParser?

hernanmd
Loading in Pharo 2.0 gives warning with lots of dependencies:

This package depends on the following classes:
  PPCompositeParserTest
  PPCompositeParser
You must resolve these dependencies before you will be able to load these definitions:
  PPPHPCoreGrammar
...

I have used:

Gofer new
    squeaksource: 'PetitPHPParser';                  
    package: 'ConfigurationOfPetitPHPParser';              
    load.                              
(Smalltalk at: #ConfigurationOfPetitPHPParser) perform: #loadDefault.



Cheers,

Hernán
Reply | Threaded
Open this post in threaded view
|

Re: How to load the PetitPHPParser?

Tudor Girba-2
From the errors, it seems that you have to load PetitParser first.

Doru


On Sun, Nov 24, 2013 at 4:48 AM, Hernán Morales Durand <[hidden email]> wrote:
Loading in Pharo 2.0 gives warning with lots of dependencies:

This package depends on the following classes:
  PPCompositeParserTest
  PPCompositeParser
You must resolve these dependencies before you will be able to load these definitions:
  PPPHPCoreGrammar
...

I have used:

Gofer new
    squeaksource: 'PetitPHPParser';                  
    package: 'ConfigurationOfPetitPHPParser';              
    load.                              
(Smalltalk at: #ConfigurationOfPetitPHPParser) perform: #loadDefault.



Cheers,

Hernán



--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: How to load the PetitPHPParser?

hernanmd
Hi Doru,

I have tested loading PetitParser from the ConfigurationBrowser and without, and it is the same.



2013/11/24 Tudor Girba <[hidden email]>
From the errors, it seems that you have to load PetitParser first.

Doru


On Sun, Nov 24, 2013 at 4:48 AM, Hernán Morales Durand <[hidden email]> wrote:
Loading in Pharo 2.0 gives warning with lots of dependencies:

This package depends on the following classes:
  PPCompositeParserTest
  PPCompositeParser
You must resolve these dependencies before you will be able to load these definitions:
  PPPHPCoreGrammar
...

I have used:

Gofer new
    squeaksource: 'PetitPHPParser';                  
    package: 'ConfigurationOfPetitPHPParser';              
    load.                              
(Smalltalk at: #ConfigurationOfPetitPHPParser) perform: #loadDefault.



Cheers,

Hernán



--

"Every thing has its own flow"

Reply | Threaded
Open this post in threaded view
|

Re: How to load the PetitPHPParser?

Tudor Girba-2
Hmm. That cannot really be. PPCompositeParser is defined in PetitParser, but likely the problem comes from the way the ConfigurationOfPetitPHPParser defines the dependency to PetitParser:
spec project: 'PetitParser for PetitPHPParser' with: [
spec
className: 'ConfigurationOfPetitParser';
file: 'ConfigurationOfPetitParser';
version: 'default';

It should load PetitParser from STHub:
spec
className: 'ConfigurationOfPetitParser';
file: 'ConfigurationOfPetitParser';
version: #development;

Cheers,
Doru



On Sun, Nov 24, 2013 at 8:43 AM, Hernán Morales Durand <[hidden email]> wrote:
Hi Doru,

I have tested loading PetitParser from the ConfigurationBrowser and without, and it is the same.



2013/11/24 Tudor Girba <[hidden email]>
From the errors, it seems that you have to load PetitParser first.

Doru


On Sun, Nov 24, 2013 at 4:48 AM, Hernán Morales Durand <[hidden email]> wrote:
Loading in Pharo 2.0 gives warning with lots of dependencies:

This package depends on the following classes:
  PPCompositeParserTest
  PPCompositeParser
You must resolve these dependencies before you will be able to load these definitions:
  PPPHPCoreGrammar
...

I have used:

Gofer new
    squeaksource: 'PetitPHPParser';                  
    package: 'ConfigurationOfPetitPHPParser';              
    load.                              
(Smalltalk at: #ConfigurationOfPetitPHPParser) perform: #loadDefault.



Cheers,

Hernán



--

"Every thing has its own flow"




--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: How to load the PetitPHPParser?

hernanmd
Thanks. I couldn't see the reference to the Lukas repository. I finally
load it by hand from Monticello Browser.

Cheers

Hernán

El 24/11/2013 8:14, Tudor Girba escribió:

> Hmm. That cannot really be. PPCompositeParser is defined in PetitParser,
> but likely the problem comes from the way the
> ConfigurationOfPetitPHPParser defines the dependency to PetitParser:
> spec project: 'PetitParser for PetitPHPParser' with: [
> spec
> className: 'ConfigurationOfPetitParser';
> file: 'ConfigurationOfPetitParser';
> version: 'default';
> repository: 'http://source.lukas-renggli.ch/petit' ].
>
> It should load PetitParser from STHub:
> spec
> className: 'ConfigurationOfPetitParser';
> file: 'ConfigurationOfPetitParser';
> version: #development;
> repository: 'http://www.smalltalkhub.com/mc/Moose/PetitParser/main'
>
> Cheers,
> Doru
>
>
>
> On Sun, Nov 24, 2013 at 8:43 AM, Hernán Morales Durand
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi Doru,
>
>     I have tested loading PetitParser from the ConfigurationBrowser and
>     without, and it is the same.
>
>
>
>     2013/11/24 Tudor Girba <[hidden email]
>     <mailto:[hidden email]>>
>
>          From the errors, it seems that you have to load PetitParser first.
>
>         Doru
>
>
>         On Sun, Nov 24, 2013 at 4:48 AM, Hernán Morales Durand
>         <[hidden email] <mailto:[hidden email]>> wrote:
>
>             Loading in Pharo 2.0 gives warning with lots of dependencies:
>
>             This package depends on the following classes:
>                PPCompositeParserTest
>                PPCompositeParser
>             You must resolve these dependencies before you will be able
>             to load these definitions:
>                PPPHPCoreGrammar
>             ...
>
>             I have used:
>
>             Gofer new
>                  squeaksource: 'PetitPHPParser';
>                  package: 'ConfigurationOfPetitPHPParser';
>                  load.
>             (Smalltalk at: #ConfigurationOfPetitPHPParser) perform:
>             #loadDefault.
>
>
>
>             Cheers,
>
>             Hernán
>
>
>
>
>         --
>         www.tudorgirba.com <http://www.tudorgirba.com>
>
>         "Every thing has its own flow"
>
>
>
>
>
> --
> www.tudorgirba.com <http://www.tudorgirba.com>
>
> "Every thing has its own flow"