[Test] PetitParser in Squeak trunk #12176

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

[Test] PetitParser in Squeak trunk #12176

Hannes Hirzel
Artefacts
-------------------------------------------

Testing 4.3#12176 (latest trunk) from

  <https://github.com/frankshearar/squeak-ci/zipball/master>

   PetitParser
   <http://source.lukas-renggli.ch/petit>


Load Metacello manually
-------------------------------------------

Added the following repository

    MCHttpRepository
       location: 'http://seaside.gemstone.com/ss/metacello'
       user: ''
       password: ''


* Manually load

  ConfigurationOfMetacello-pmm.717

  Author: pmm Time: 25 August 2012, 10:32:34 am

* Then do

        ConfigurationOfMetacello loadLatestVersion



Load PetitParser
-------------------------------------------
Execute in a Workspace

    Gofer new
     renggli: 'petit';
     package: 'PetitParser';
     package: 'PetitTests';
     package: 'PetitAnalyzer';
     package: 'PetitBeta';
     package: 'PetitCSV';
     package: 'Factorial-Language';
     package: 'PetitJson';
     package: 'PetitMSE';
     package: 'PetitManifestMf';
     package: 'PetitSQL';
     package: 'PetitXml';
     package: 'PetitXPath';
     load.


could not load

      package: 'PetitRegex';
      package: 'PrettyPetit';
      package: 'PetitSmalltalk';


Testrunner PetitParser
-------------------------------------------

404 run, 396 passes
4 expected failures, 4 errors


If you take out Factorial-Language
400 run, 396 passes, 4 expected failures
all green


PetitParser documentation
-------------------------------------------

<http://scg.unibe.ch/research/helvetia/petitparser>

<http://www.lukas-renggli.ch/blog/petitparser-1>

<http://www.lukas-renggli.ch/blog/petitparser-2>

Lukas Renggli. Dynamic Language Embedding With Homogeneous Tool
Support. PhD thesis, University of Bern, October 2010.
<http://scg.unibe.ch/archive/phd/renggli-phd.pdf>

<http://www.themoosebook.org/book/internals/petit-parser>


Note:
-------------------------------------------
This test report is written in Markdown notation
To view the text formatted you might want to use
<http://www.showdown.im/> ; for a guide on markdown see for example
<http://johnmacfarlane.net/pandoc/>

Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Frank Shearar-3
On 11 September 2012 02:38, H. Hirzel <[hidden email]> wrote:

> Artefacts
> -------------------------------------------
>
> Testing 4.3#12176 (latest trunk) from
>
>   <https://github.com/frankshearar/squeak-ci/zipball/master>
>
>    PetitParser
>    <http://source.lukas-renggli.ch/petit>
>
>
It hasn't been been accepted yet, but I submitted a patch to the
ConfigurationOfPetitParser that would let it load in Squeak. With
that, I have a green light on all tests.

Loading PetitSmalltalk is much more troublesome, but I have a script
that works, and shows (with my most recent submission, using Number
class >> #readSmalltalkSyntaxFrom: instead of #readFrom:) a green
light in Squeak.

frank

Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Hannes Hirzel
Thank you Frank for updating ConfigurationOfPetitParser and submitting
it to Lukas for inclusion in his repository. Are there any news from
him?

May I ask you to sent a copy of ConfigurationOfPetitParser as an
attachment to this list?

--Hannes

On 12/5/12, Frank Shearar <[hidden email]> wrote:

> On 11 September 2012 02:38, H. Hirzel <[hidden email]> wrote:
>> Artefacts
>> -------------------------------------------
>>
>> Testing 4.3#12176 (latest trunk) from
>>
>>   <https://github.com/frankshearar/squeak-ci/zipball/master>
>>
>>    PetitParser
>>    <http://source.lukas-renggli.ch/petit>
>>
>>
> It hasn't been been accepted yet, but I submitted a patch to the
> ConfigurationOfPetitParser that would let it load in Squeak. With
> that, I have a green light on all tests.
>
> Loading PetitSmalltalk is much more troublesome, but I have a script
> that works, and shows (with my most recent submission, using Number
> class >> #readSmalltalkSyntaxFrom: instead of #readFrom:) a green
> light in Squeak.
>
> frank
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Frank Shearar-3
On 11 December 2012 09:46, H. Hirzel <[hidden email]> wrote:
> Thank you Frank for updating ConfigurationOfPetitParser and submitting
> it to Lukas for inclusion in his repository. Are there any news from
> him?
>
> May I ask you to sent a copy of ConfigurationOfPetitParser as an
> attachment to this list?

Sure. Done! Be sure to load the minimal group, and bear in mind that
PetitSmalltalk depends on AST-Core and the RBCompiler.

I've also attached the fix I submitted for host-independent number
parsing, using Number class >> #readSmalltalkSyntaxFrom: instead of
#readFrom:.

frank

> --Hannes
>
> On 12/5/12, Frank Shearar <[hidden email]> wrote:
>> On 11 September 2012 02:38, H. Hirzel <[hidden email]> wrote:
>>> Artefacts
>>> -------------------------------------------
>>>
>>> Testing 4.3#12176 (latest trunk) from
>>>
>>>   <https://github.com/frankshearar/squeak-ci/zipball/master>
>>>
>>>    PetitParser
>>>    <http://source.lukas-renggli.ch/petit>
>>>
>>>
>> It hasn't been been accepted yet, but I submitted a patch to the
>> ConfigurationOfPetitParser that would let it load in Squeak. With
>> that, I have a green light on all tests.
>>
>> Loading PetitSmalltalk is much more troublesome, but I have a script
>> that works, and shows (with my most recent submission, using Number
>> class >> #readSmalltalkSyntaxFrom: instead of #readFrom:) a green
>> light in Squeak.
>>
>> frank
>>
>>
>



ConfigurationOfPetitParser-fbs.27.mcz (9K) Download Attachment
PetitSmalltalk.host-independent-numbers-fbs.60.mcz (43K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Hannes Hirzel
On 12/11/12, Frank Shearar <[hidden email]> wrote:

> On 11 December 2012 09:46, H. Hirzel <[hidden email]> wrote:
>> Thank you Frank for updating ConfigurationOfPetitParser and submitting
>> it to Lukas for inclusion in his repository. Are there any news from
>> him?
>>
>> May I ask you to sent a copy of ConfigurationOfPetitParser as an
>> attachment to this list?
>
> Sure. Done! Be sure to load the minimal group, and bear in mind that
> PetitSmalltalk depends on AST-Core and the RBCompiler.

I assumed this means to load Omnibrowser ....

After that I did

    ConfigurationOfPetitParser loadMinimal

and run all the tests on

PetitTests-Core
PetitTests-Tests
PetitAnalyzer-Tests

259 tests run, 259 passes


> I've also attached the fix I submitted for host-independent number
> parsing, using Number class >> #readSmalltalkSyntaxFrom: instead of
> #readFrom:.
>
> frank
>
>> --Hannes
>>
>> On 12/5/12, Frank Shearar <[hidden email]> wrote:
>>> On 11 September 2012 02:38, H. Hirzel <[hidden email]> wrote:
>>>> Artefacts
>>>> -------------------------------------------
>>>>
>>>> Testing 4.3#12176 (latest trunk) from
>>>>
>>>>   <https://github.com/frankshearar/squeak-ci/zipball/master>
>>>>
>>>>    PetitParser
>>>>    <http://source.lukas-renggli.ch/petit>
>>>>
>>>>
>>> It hasn't been been accepted yet, but I submitted a patch to the
>>> ConfigurationOfPetitParser that would let it load in Squeak. With
>>> that, I have a green light on all tests.
>>>
>>> Loading PetitSmalltalk is much more troublesome, but I have a script
>>> that works, and shows (with my most recent submission, using Number
>>> class >> #readSmalltalkSyntaxFrom: instead of #readFrom:) a green
>>> light in Squeak.
>>>
>>> frank
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Colin Putney-3



On Wed, Dec 12, 2012 at 8:19 PM, H. Hirzel <[hidden email]> wrote:

> Sure. Done! Be sure to load the minimal group, and bear in mind that
> PetitSmalltalk depends on AST-Core and the RBCompiler.

I assumed this means to load Omnibrowser ....

Not quite. OmniBrowser also depends on these packages, so loading OB will get them for you, but they're not part of OmniBrowser its self.

 Colin


Reply | Threaded
Open this post in threaded view
|

Re: [Test] PetitParser in Squeak trunk #12176

Hannes Hirzel
Colin,

Thank you for the clarification. Yes, Omnibrowser loads AST-Core and
the RBCompiler as a prerequisite. Thus loading Omnibrowser is an easy
way to make sure they are loaded.

Loading Omnibrowser is easy because the load script is readily
accessible in the 'How to extend the system' workspace. This is not
the case for AST-Core and RBCompiler.

Candidates for a 4.4. Squeakmap entry?
....hint to a Squeakmap specialist ...   ?  :-)

--Hannes

On 12/13/12, Colin Putney <[hidden email]> wrote:

> On Wed, Dec 12, 2012 at 8:19 PM, H. Hirzel <[hidden email]> wrote:
>
>> Sure. Done! Be sure to load the minimal group, and bear in mind that
>> > PetitSmalltalk depends on AST-Core and the RBCompiler.
>>
>> I assumed this means to load Omnibrowser ....
>>
>
> Not quite. OmniBrowser also depends on these packages, so loading OB will
> get them for you, but they're not part of OmniBrowser its self.
>
>  Colin
>