Re: [Pharo-users] YAML parser (2017)

2017-08-24 Thread Stephane Ducasse
I love such green tests. On Thu, Aug 24, 2017 at 1:48 PM, H. Hirzel wrote: > Reported to Doru and he answered that they will come up with a release > of PetitParser for 6.0/6.1. > > The installation script to use in the meantime is: > > Metacello new > smalltalkhubUser: 'Moose' project: 'P

Re: [Pharo-users] YAML parser (2017)

2017-08-22 Thread Stephane Ducasse
Hi Hannes you should report this to doru. Stef On Sat, Aug 19, 2017 at 8:36 PM, H. Hirzel wrote: > On 8/19/17, Peter Uhnak wrote: >> On Sat, Aug 19, 2017 at 02:45:28PM +0200, H. Hirzel wrote: >>> Peter, thanks for the confirmation that in your installation of the >>> PetitYAML grammar all test

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread H. Hirzel
On 8/19/17, Peter Uhnak wrote: > On Sat, Aug 19, 2017 at 02:45:28PM +0200, H. Hirzel wrote: >> Peter, thanks for the confirmation that in your installation of the >> PetitYAML grammar all tests are green. >> >> I wonder how you did it. > > As I've said, you need to update PetitParser; if there's n

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread Peter Uhnak
On Sat, Aug 19, 2017 at 02:45:28PM +0200, H. Hirzel wrote: > Peter, thanks for the confirmation that in your installation of the > PetitYAML grammar all tests are green. > > I wonder how you did it. As I've said, you need to update PetitParser; if there's no appropriate catalog entry, then Confi

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread H. Hirzel
P.S. I assume I need to get a developer version. How do I do that? On 8/19/17, H. Hirzel wrote: > Peter, thanks for the confirmation that in your installation of the > PetitYAML grammar all tests are green. > > I wonder how you did it. > > This is what I did: > > 1. I put Pillar on the back burne

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread H. Hirzel
Peter, thanks for the confirmation that in your installation of the PetitYAML grammar all tests are green. I wonder how you did it. This is what I did: 1. I put Pillar on the back burner for the moment and 2. I went for a pristine Pharo 6.0 Latest update: #60510 image (a.k.a. 6.1). 3. Then I i

Re: [Pharo-users] YAML parser (2017)

2017-08-19 Thread Peter Uhnak
All my tests are green, so maybe you need to update PetitParser too to the latest (PetitParser-JanKurs.290) It is probable that Pillar loaded older version of PetitParser. Peter On Fri, Aug 18, 2017 at 10:56:30PM +0200, H. Hirzel wrote: > Hello again > > On 8/18/17, Peter Uhnak wrote: > [...

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread Peter Uhnak
On Fri, Aug 18, 2017 at 09:50:35PM +0200, H. Hirzel wrote: > Hello Peter > > Thank you for the answer. Good news that Phil Back has an done > upgraded version of the PetitYAML parser recently. > > I think what you describe as "mostly complete" will be very fine for > my purposes. > > On 8/18/17,

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread H. Hirzel
Hello Peter Thank you for the answer. Good news that Phil Back has an done upgraded version of the PetitYAML parser recently. I think what you describe as "mostly complete" will be very fine for my purposes. On 8/18/17, Peter Uhnak wrote: > Hi, > > Phil Back has kindly fixed the PetitYAML so it

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread Peter Uhnak
Hi, Phil Back has kindly fixed the PetitYAML so it mostly works now. The only problem I've encountered was some weird misparsing of strings containing slashes, e.g. "5/". In any case: Install PetitParser (from Catalog or somewhere), load PetitYAML package (this is already loaded when loading P

Re: [Pharo-users] YAML parser (2017)

2017-08-18 Thread H. Hirzel
I am not looking for a complete implementation which is quite an effort but rather for a subset which does simple things such as parsing - a list of hashes (dictionaries), - a dictionary of dictionaries (nested to arbitrary depths), - multi-line comments --Hannes On 8/16/17, H. Hirzel wrote: >

Re: [Pharo-users] YAML parser (2017)

2017-08-16 Thread H. Hirzel
Are there any news about a YAML parser for Pharo 5 / 6.1? --Hannes On 5/29/17, Peter Uhnak wrote: > Hi, > > do we have a working parser for YAML? > > There's PPYAMLGrammar (in PetitParser), however it doesn't seem to work in > Pharo 6 at all (not even tests pass). > In Pharo 5 the tests are gree

Re: [Pharo-users] YAML parser (2017)

2017-05-29 Thread Thierry Goubier
Hi Peter, If you have a BNF of YAML, then a SmaCC parser with AST generation is at most a day of work. I can help. Thierry 2017-05-29 9:15 GMT+02:00 Peter Uhnak : > Hi, > > do we have a working parser for YAML? > > There's PPYAMLGrammar (in PetitParser), however it doesn't seem to work in > Pha