Re: [Pharo-users] loading petitParser
I will update the book because this pointer does not work either http://www.themoosebook.org/book/internals/petit-parser On Tue, Mar 28, 2017 at 11:48 AM, Christophe Demarey < christophe.dema...@inria.fr> 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 Ducassea > é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 > > >
Re: [Pharo-users] loading petitParser
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 Ducassea é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 >
[Pharo-users] loading petitParser
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
[Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?
I am loading PetitParser in my image but it takes a lng time to load and below is what I see in my Jenkins console. Build for that step starts at 13:48:51 and ends at 14:03:15. Phew! Also a couple errors in loading examples. What is recommended to use to not have all of this? I just need the parser and tools to browse the grammars. [34m13:48:51 : -- loadPetitParser step starting Loading 1.6-baseline of ConfigurationOfPetitParser... Fetched - ConfigurationOfGlamour-AndreiChis.158 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Loaded - ConfigurationOfGlamour-AndreiChis.158 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - PetitParser-JanKurs.247 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitTests-JanKurs.59 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitAnalyzer-DiegoLont.46 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitSmalltalk-JanKurs.71 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitCSV-tg.7 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitJson-DamienCassou.8 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitMSE-AndreHora.21 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitManifestMf-tg.9 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitRegex-JanKurs.29 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitXml-JanKurs.36 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitXPath-EstebanLorenzano.7 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitIslands-JanKurs.9 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - Factorial-Language-lr.6 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Project: Glamour development [2.91-baseline] Fetched - ConfigurationOfGraphET-TudorGirba.8 --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ Loaded - ConfigurationOfGraphET-TudorGirba.8 --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - ConfigurationOfRubric-AndreiChis.7 --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ Loaded - ConfigurationOfRubric-AndreiChis.7 --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - ConfigurationOfRoassal-StephaneDucasse.1195 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ Loaded - ConfigurationOfRoassal-StephaneDucasse.1195 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - Glamour-Announcements-TudorGirba.7 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Helpers-AndreiChis.35 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Core-AndreiChis.277 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Presentations-TudorGirba.157 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Browsers-TudorGirba.104 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Examples-StephanEggermont.284 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Project: Roassal for Glamour development [0.7-baseline] Fetched - Roassal-AlexandreBergel.759 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ Fetched - RoassalMorphic-AlexandreBergel.175 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ Fetched - RoassalExtras-AlexandreBergel.61 ---
Re: [Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?
Hi, The dependencies are needed for the UI. If you can live without the UI, you can load the 'Core' group from the configuration. Cheers, Doru On Thu, Sep 25, 2014 at 2:07 PM, p...@highoctane.be p...@highoctane.be wrote: I am loading PetitParser in my image but it takes a lng time to load and below is what I see in my Jenkins console. Build for that step starts at 13:48:51 and ends at 14:03:15. Phew! Also a couple errors in loading examples. What is recommended to use to not have all of this? I just need the parser and tools to browse the grammars. [34m13:48:51 : -- loadPetitParser step starting Loading 1.6-baseline of ConfigurationOfPetitParser... Fetched - ConfigurationOfGlamour-AndreiChis.158 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Loaded - ConfigurationOfGlamour-AndreiChis.158 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - PetitParser-JanKurs.247 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitTests-JanKurs.59 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitAnalyzer-DiegoLont.46 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitSmalltalk-JanKurs.71 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitCSV-tg.7 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitJson-DamienCassou.8 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitMSE-AndreHora.21 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitManifestMf-tg.9 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitRegex-JanKurs.29 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitXml-JanKurs.36 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitXPath-EstebanLorenzano.7 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - PetitIslands-JanKurs.9 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched - Factorial-Language-lr.6 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Project: Glamour development [2.91-baseline] Fetched - ConfigurationOfGraphET-TudorGirba.8 --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ Loaded - ConfigurationOfGraphET-TudorGirba.8 --- http://smalltalkhub.com/mc/ObjectProfile/GraphET/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - ConfigurationOfRubric-AndreiChis.7 --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ Loaded - ConfigurationOfRubric-AndreiChis.7 --- http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - ConfigurationOfRoassal-StephaneDucasse.1195 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ Loaded - ConfigurationOfRoassal-StephaneDucasse.1195 --- http://smalltalkhub.com/mc/ObjectProfile/Roassal/main/ --- /var/lib/jenkins/jobs/CXP Frontend/workspace/package-cache Fetched - Glamour-Announcements-TudorGirba.7 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Helpers-AndreiChis.35 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Core-AndreiChis.277 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Presentations-TudorGirba.157 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Browsers-TudorGirba.104 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Fetched - Glamour-Examples-StephanEggermont.284 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Project: Roassal for Glamour development [0.7-baseline] Fetched - Roassal-AlexandreBergel.759 ---
Re: [Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?
Tudor Girba-2 wrote If you can live without the UI, you can load the 'Core' group from the configuration. +1. That's what I usually do. - Cheers, Sean -- View this message in context: http://forum.world.st/Loading-PetitParser-loads-a-hell-of-a-lot-of-things-is-there-a-terser-version-tp4780159p4780340.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
I use it. Now, how can one paste text in the lower pane? I can't get that working and it is frustrating. Especially when I do have long external samples. I also got some out of memory errors when a grammar loops on itself in a wrong way. Which is what happend when trying things out. There should be a kind of limit one could customize. Especially when hitting 'example'tab... :-) I should have a shot at GT... I am using Pharo3. Phil Le 26 juin 2014 00:52, Tudor Girba tu...@tudorgirba.com a écrit : If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open. And if you want to really go into it, you can also use the dedicated inspector and debugger from GT. Cheers, Doru On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be wrote: Thanks, didn't knew about this. BTW, PetitParser is really awesome. Up and running in a couple hours. Wow. Phil On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck marianop...@gmail.com wrote: What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com -- www.tudorgirba.com Every thing has its own flow
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
Hi, On Thu, Jun 26, 2014 at 8:45 AM, p...@highoctane.be p...@highoctane.be wrote: I use it. Great Now, how can one paste text in the lower pane? I can't get that working and it is frustrating. Especially when I do have long external samples. What do you mean? Cmd+v should work. It works for me. Does it not work for you? I also got some out of memory errors when a grammar loops on itself in a wrong way. Which is what happend when trying things out. There should be a kind of limit one could customize. Especially when hitting 'example'tab... :-) That would be quite nice indeed. I would not know how to do it though :(. I should have a shot at GT... I am using Pharo3. Let me know if I can be of help. Cheers, Doru Phil Le 26 juin 2014 00:52, Tudor Girba tu...@tudorgirba.com a écrit : If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open. And if you want to really go into it, you can also use the dedicated inspector and debugger from GT. Cheers, Doru On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be wrote: Thanks, didn't knew about this. BTW, PetitParser is really awesome. Up and running in a couple hours. Wow. Phil On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck marianop...@gmail.com wrote: What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com -- www.tudorgirba.com Every thing has its own flow -- www.tudorgirba.com Every thing has its own flow
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open. And if you want to really go into it, you can also use the dedicated inspector and debugger from GT. Cheers, Doru On Tue, Jun 24, 2014 at 2:25 PM, p...@highoctane.be p...@highoctane.be wrote: Thanks, didn't knew about this. BTW, PetitParser is really awesome. Up and running in a couple hours. Wow. Phil On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck marianop...@gmail.com wrote: What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com -- www.tudorgirba.com Every thing has its own flow
[Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
Thanks, didn't knew about this. BTW, PetitParser is really awesome. Up and running in a couple hours. Wow. Phil On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck marianop...@gmail.com wrote: What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com
Re: [Pharo-users] Loading petitparser when Voyage is loaded is taking an awful long time
yes the announcement is taking care of flushing caches when a mongoDescription is added/deleted. probably things can be speed up, but I do not recommend to use #suspendAllWhile: (that will stop announce everything). Instead, you can simply do: VOMongoRepository unregisterToNotifications. Esteban On 24 Jun 2014, at 09:25, p...@highoctane.be wrote: Thanks, didn't knew about this. BTW, PetitParser is really awesome. Up and running in a couple hours. Wow. Phil On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck marianop...@gmail.com wrote: What if you put your gofer expression to load PetitParser in a block closure and then: SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] ? (I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar). Best, On Tue, Jun 24, 2014 at 5:52 AM, p...@highoctane.be p...@highoctane.be wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages. I was loading PetitParser and the image appeared unresponsive for quite a while. Is there a way to disable that check temporarily? Phil -- Mariano http://marianopeck.wordpress.com