Ah, thanks! I was just puzzling over that. I'll add that to the project page.
"Levente Uzonyi"leves@elte.hu wrote:
What is the Squeak equivalent of Gofer ? I could add the Squeak version to the page as well. In the worst case you can load the packages manually in the order that the Gofer snippet shows. You don't have to load all of them, you really need just the first five.
It's Installer. The following script should work:
Installer squeaksource project: 'Xtreams'; install: 'Xtreams-Support'; install: 'Xtreams-Core-'; install: 'Xtreams-Terminals-'; install: 'Xtreams-Transforms-'; install: 'Xtreams-Substreams-'; install: 'Xtreams-Parsing-'; " --- tests follow --- " install: 'Xtreams-CoreTests'; install: 'Xtreams-TerminalsTests'; install: 'Xtreams-TransformsTests'; install: 'Xtreams-SubstreamsTests'; install: 'Xtreams-ParsingTests'; " --- following require FFI --- " install: 'Xtreams-Xtras-'; install: 'Xtreams-XtrasTests'.
The - character at the end of the non-test packages is necessary, because Installer uses prefix matching and in case of 'Xtreams-Core' it would load Xtreams-CoreTests, because that has a higher version number at the moment.
Levente
Cheers,
Martin
Thank you Martin and Levente
The code copied in below worked in an updated trunk image (4.2-10892, Xtras removed, no FFI support loaded)
Besides http://code.google.com/p/xtreams/wiki/Parsing are there more examples how to use Peg parsing?
-- Hannes
Installer squeaksource project: 'Xtreams'; install: 'Xtreams-Support'; install: 'Xtreams-Core-'; install: 'Xtreams-Terminals-'; install: 'Xtreams-Transforms-'; install: 'Xtreams-Substreams-'; install: 'Xtreams-Parsing-'; " --- tests follow --- " install: 'Xtreams-CoreTests'; install: 'Xtreams-TerminalsTests'; install: 'Xtreams-TransformsTests'; install: 'Xtreams-SubstreamsTests'; install: 'Xtreams-ParsingTests'.
On 1/21/11, mkobetic@gmail.com mkobetic@gmail.com wrote:
Ah, thanks! I was just puzzling over that. I'll add that to the project page.
"Levente Uzonyi"leves@elte.hu wrote:
What is the Squeak equivalent of Gofer ? I could add the Squeak version to the page as well. In the worst case you can load the packages manually in the order that the Gofer snippet shows. You don't have to load all of them, you really need just the first five.
It's Installer. The following script should work:
Installer squeaksource project: 'Xtreams'; install: 'Xtreams-Support'; install: 'Xtreams-Core-'; install: 'Xtreams-Terminals-'; install: 'Xtreams-Transforms-'; install: 'Xtreams-Substreams-'; install: 'Xtreams-Parsing-'; " --- tests follow --- " install: 'Xtreams-CoreTests'; install: 'Xtreams-TerminalsTests'; install: 'Xtreams-TransformsTests'; install: 'Xtreams-SubstreamsTests'; install: 'Xtreams-ParsingTests'; " --- following require FFI --- " install: 'Xtreams-Xtras-'; install: 'Xtreams-XtrasTests'.
The - character at the end of the non-test packages is necessary, because Installer uses prefix matching and in case of 'Xtreams-Core' it would load
Xtreams-CoreTests, because that has a higher version number at the moment.
Levente
Cheers,
Martin
"Hannes" == Hannes Hirzel hannes.hirzel@gmail.com writes:
Hannes> Installer squeaksource Hannes> project: 'Xtreams'; Hannes> install: 'Xtreams-Support'; Hannes> install: 'Xtreams-Core-'; Hannes> install: 'Xtreams-Terminals-'; Hannes> install: 'Xtreams-Transforms-'; Hannes> install: 'Xtreams-Substreams-'; Hannes> install: 'Xtreams-Parsing-'; Hannes> " --- tests follow --- " Hannes> install: 'Xtreams-CoreTests'; Hannes> install: 'Xtreams-TerminalsTests'; Hannes> install: 'Xtreams-TransformsTests'; Hannes> install: 'Xtreams-SubstreamsTests'; Hannes> install: 'Xtreams-ParsingTests'.
This doesn't work in the current trunk. It tries to load a file named nil. That's no fun. :(
"Randal" == Randal L Schwartz merlyn@stonehenge.com writes:
Randal> This doesn't work in the current trunk. It tries to load a file named Randal> nil. That's no fun. :(
In fact, almost everything I try with Metacello seems to be aborting with trying to load the nil file.
Does anyone have a recent image that works?
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
On Fri, 25 Mar 2011, Randal L. Schwartz wrote:
"Randal" == Randal L Schwartz merlyn@stonehenge.com writes:
Randal> This doesn't work in the current trunk. It tries to load a file named Randal> nil. That's no fun. :(
In fact, almost everything I try with Metacello seems to be aborting with trying to load the nil file.
Does anyone have a recent image that works?
Please update your image, the issue should be solved by Monticello-ul.443. See http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm... for details.
Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion
"Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by Monticello-ul.443. See Levente> http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm... Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should that be inherent in the default #load?
El vie, 25-03-2011 a las 13:14 -0700, Randal L. Schwartz escribió:
"Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by Monticello-ul.443. See Levente> http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm... Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should that be inherent in the default #load?
(ConfigurationOfXXX project version: #bleedingEdge) load
should do the trick.
Cheers
On Mar 25, 2011, at 1:14 PM, Randal L. Schwartz wrote:
"Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by Monticello-ul.443. See Levente> http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm... Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should that be inherent in the default #load?
The #stable symbolic version is intended to specify the "latest version for this platform," but not all configurations have been updated to use symbolic versions... typically the person doing the port of a project to Squeak, Pharo, or GemStone will define the symbolic version for their platform, since they are the ones who know which version is "the latest and best"
Dale
The problem is that in the baseline is everything inside a spec for: #pharo do: []
since nobody report me about GlorpDBX is Squeak..
I've just commited a new version of ConfigurationOfGlorpDBX that change #pharo for #common. So it should, at least, try to load.
First you need to enable selectors with underscore. Then evaluate:
(ConfigurationOfGlorpDBX project version: '1.4') load.
and tell us what happen. I will try to do it also.
There is no yet #stable in ConfigurationOfGlorpDBX, but yes in ConfigurationOfSqueakDBX
cheers
mariano
On Fri, Mar 25, 2011 at 9:28 PM, Dale Henrichs dhenrich@vmware.com wrote:
On Mar 25, 2011, at 1:14 PM, Randal L. Schwartz wrote:
> "Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by
Monticello-ul.443. See
Levente>
http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm...
Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should that be inherent in the default #load?
The #stable symbolic version is intended to specify the "latest version for this platform," but not all configurations have been updated to use symbolic versions... typically the person doing the port of a project to Squeak, Pharo, or GemStone will define the symbolic version for their platform, since they are the ones who know which version is "the latest and best"
Dale
On Fri, Mar 25, 2011 at 9:32 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
The problem is that in the baseline is everything inside a spec for: #pharo do: []
since nobody report me about GlorpDBX is Squeak..
I've just commited a new version of ConfigurationOfGlorpDBX that change #pharo for #common. So it should, at least, try to load.
First you need to enable selectors with underscore. Then evaluate:
(ConfigurationOfGlorpDBX project version: '1.4') load.
It seems there is a loop trying to compile some clases of Glorp, I don't know why. The same loads correctly in Pharo if it is of help.
Tried to interrupt and analize...seems related to the undersore as selector..but I am not sure..
and tell us what happen. I will try to do it also.
There is no yet #stable in ConfigurationOfGlorpDBX, but yes in ConfigurationOfSqueakDBX
cheers
mariano
On Fri, Mar 25, 2011 at 9:28 PM, Dale Henrichs dhenrich@vmware.comwrote:
On Mar 25, 2011, at 1:14 PM, Randal L. Schwartz wrote:
>> "Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by
Monticello-ul.443. See
Levente>
http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm...
Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should that be inherent in the default #load?
The #stable symbolic version is intended to specify the "latest version for this platform," but not all configurations have been updated to use symbolic versions... typically the person doing the port of a project to Squeak, Pharo, or GemStone will define the symbolic version for their platform, since they are the ones who know which version is "the latest and best"
Dale
On Fri, Mar 25, 2011 at 9:58 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Fri, Mar 25, 2011 at 9:32 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
The problem is that in the baseline is everything inside a spec for: #pharo do: []
since nobody report me about GlorpDBX is Squeak..
I've just commited a new version of ConfigurationOfGlorpDBX that change #pharo for #common. So it should, at least, try to load.
First you need to enable selectors with underscore. Then evaluate:
(ConfigurationOfGlorpDBX project version: '1.4') load.
It seems there is a loop trying to compile some clases of Glorp, I don't know why. The same loads correctly in Pharo if it is of help.
Ok, load latest version from MetacelloRepository:
Name: ConfigurationOfGlorpDBX-FirstnameLastnadasdasme.33 Author: FirstnameLastnadasdasme Time: 25 March 2011, 11:19:40 pm UUID: 09b9f3cc-e17b-4b83-a6a7-c96934a42360 Ancestors: ConfigurationOfGlorpDBX-Mariano.32
New version 1.4 for trying to make GlorpDBX to work on Squeak 4.2
Then go to preferences and allow underscore in selectors and then evaluate
(ConfigurationOfGlorpDBX project version: '1.4') load.
That will load GLorpDBX on Squeak 4.2. However, half of the tests are red. I don't have time to digg into them right now, but if you do, let me know and I cna integrate any necessary change. There are probably few erros that make a lot of tests to fail/error
Cheers
Mariano
Tried to interrupt and analize...seems related to the undersore as
selector..but I am not sure..
and tell us what happen. I will try to do it also.
There is no yet #stable in ConfigurationOfGlorpDBX, but yes in ConfigurationOfSqueakDBX
cheers
mariano
On Fri, Mar 25, 2011 at 9:28 PM, Dale Henrichs dhenrich@vmware.comwrote:
On Mar 25, 2011, at 1:14 PM, Randal L. Schwartz wrote:
>>> "Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by
Monticello-ul.443. See
Levente>
http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm...
Levente> for details.
Levente> Levente
Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should
that
be inherent in the default #load?
The #stable symbolic version is intended to specify the "latest version for this platform," but not all configurations have been updated to use symbolic versions... typically the person doing the port of a project to Squeak, Pharo, or GemStone will define the symbolic version for their platform, since they are the ones who know which version is "the latest and best"
Dale
Rerunning the tests are green...weird
On Fri, Mar 25, 2011 at 11:21 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Fri, Mar 25, 2011 at 9:58 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Fri, Mar 25, 2011 at 9:32 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
The problem is that in the baseline is everything inside a spec for: #pharo do: []
since nobody report me about GlorpDBX is Squeak..
I've just commited a new version of ConfigurationOfGlorpDBX that change #pharo for #common. So it should, at least, try to load.
First you need to enable selectors with underscore. Then evaluate:
(ConfigurationOfGlorpDBX project version: '1.4') load.
It seems there is a loop trying to compile some clases of Glorp, I don't know why. The same loads correctly in Pharo if it is of help.
Ok, load latest version from MetacelloRepository:
Name: ConfigurationOfGlorpDBX-FirstnameLastnadasdasme.33 Author: FirstnameLastnadasdasme Time: 25 March 2011, 11:19:40 pm UUID: 09b9f3cc-e17b-4b83-a6a7-c96934a42360 Ancestors: ConfigurationOfGlorpDBX-Mariano.32
New version 1.4 for trying to make GlorpDBX to work on Squeak 4.2
Then go to preferences and allow underscore in selectors and then evaluate
(ConfigurationOfGlorpDBX project version: '1.4') load.
That will load GLorpDBX on Squeak 4.2. However, half of the tests are red. I don't have time to digg into them right now, but if you do, let me know and I cna integrate any necessary change. There are probably few erros that make a lot of tests to fail/error
Cheers
Mariano
Tried to interrupt and analize...seems related to the undersore as
selector..but I am not sure..
and tell us what happen. I will try to do it also.
There is no yet #stable in ConfigurationOfGlorpDBX, but yes in ConfigurationOfSqueakDBX
cheers
mariano
On Fri, Mar 25, 2011 at 9:28 PM, Dale Henrichs dhenrich@vmware.comwrote:
On Mar 25, 2011, at 1:14 PM, Randal L. Schwartz wrote:
>>>> "Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> Please update your image, the issue should be solved by
Monticello-ul.443. See
Levente>
http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158306.htm...
Levente> for details.
Levente> Levente
> > Trying to load Seaside30, GlorpDBX, and Magritte2 into a trunk. If > there's some extra magic required to make it work, please help.
Sadly, "ConfigurationOfSqueakDBX load" works fine, but "ConfigurationOfGlorpDBX load" still tries to call
nil loadUsing: mcLoader
because
self projectPackage
is returning nil.
It's trying to run SqueakDBX with 1.3, but there's no version of that for Squeak, only Pharo.
Is there a way to say "latest version for this platform", or should
that
be inherent in the default #load?
The #stable symbolic version is intended to specify the "latest version for this platform," but not all configurations have been updated to use symbolic versions... typically the person doing the port of a project to Squeak, Pharo, or GemStone will define the symbolic version for their platform, since they are the ones who know which version is "the latest and best"
Dale
"Mariano" == Mariano Martinez Peck marianopeck@gmail.com writes:
Mariano> Then go to preferences and allow underscore in selectors and
Is there a programmatic way of doing this? I'd like to have a script I can just run to go from "the latest trunk" to "my customer's image".
I think it's here:
prefAllowUnderscoreSelectors: aBool "Accessor for the system-wide preference" AllowUnderscoreSelectors := aBool
So you probably want to switch it like this:
Scanner prefAllowUnderscoreSelectors: true
And then back again when you've done what needs it? This one always confuses me.
On Fri, Mar 25, 2011 at 6:26 PM, Randal L. Schwartz merlyn@stonehenge.comwrote:
"Mariano" == Mariano Martinez Peck marianopeck@gmail.com writes:
Mariano> Then go to preferences and allow underscore in selectors and
Is there a programmatic way of doing this? I'd like to have a script I can just run to go from "the latest trunk" to "my customer's image".
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion
On Fri, 25 Mar 2011, Randal L. Schwartz wrote:
"Hannes" == Hannes Hirzel hannes.hirzel@gmail.com writes:
Hannes> Installer squeaksource Hannes> project: 'Xtreams'; Hannes> install: 'Xtreams-Support'; Hannes> install: 'Xtreams-Core-'; Hannes> install: 'Xtreams-Terminals-'; Hannes> install: 'Xtreams-Transforms-'; Hannes> install: 'Xtreams-Substreams-'; Hannes> install: 'Xtreams-Parsing-'; Hannes> " --- tests follow --- " Hannes> install: 'Xtreams-CoreTests'; Hannes> install: 'Xtreams-TerminalsTests'; Hannes> install: 'Xtreams-TransformsTests'; Hannes> install: 'Xtreams-SubstreamsTests'; Hannes> install: 'Xtreams-ParsingTests'.
This doesn't work in the current trunk. It tries to load a file named nil. That's no fun. :(
This should be fixed by Monticello-ul.444. Details here: http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158307.htm...
Note that there's also ConfigurationOfXtreams which should also work.
Levente
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion
"Levente" == Levente Uzonyi leves@elte.hu writes:
Levente> This should be fixed by Monticello-ul.444. Details here: Levente> http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-March/158307.htm...
Levente> Note that there's also ConfigurationOfXtreams which should also Levente> work.
I've just refreshed my trunk. I did:
Installer ss project: 'MetacelloRepository'; install: 'ConfigurationOfXtreams'. ConfigurationOfXtreams load.
And it worked just fine! Thank you thank you! Now to try all the other ones.
squeak-dev@lists.squeakfoundation.org