How to load the PetitPHPParser?
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
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 < hernan.morales@gmail.com> 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 "Every thing has its own flow"
Hi Doru, I have tested loading PetitParser from the ConfigurationBrowser and without, and it is the same. 2013/11/24 Tudor Girba <tudor@tudorgirba.com>
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 < hernan.morales@gmail.com> 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
"Every thing has its own flow"
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 < hernan.morales@gmail.com> wrote:
Hi Doru,
I have tested loading PetitParser from the ConfigurationBrowser and without, and it is the same.
2013/11/24 Tudor Girba <tudor@tudorgirba.com>
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 < hernan.morales@gmail.com> 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
"Every thing has its own flow"
-- www.tudorgirba.com "Every thing has its own flow"
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 <hernan.morales@gmail.com <mailto:hernan.morales@gmail.com>> wrote:
Hi Doru,
I have tested loading PetitParser from the ConfigurationBrowser and without, and it is the same.
2013/11/24 Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>>
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 <hernan.morales@gmail.com <mailto:hernan.morales@gmail.com>> 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"
participants (2)
-
Hernán Morales Durand -
Tudor Girba