Hi Mohammad

We are interested in getting a nice HTML parser.

Now I suggest that you have a look at the pharo by example book.
It will help you to get started.
In particular do you know Sunit? There is a chapter on it in the book.
We urge you to write tests for your parser. 

There were several projects around HTML parsing

HTML & CSS Validating Parser
on squeaksource.com
MCHttpRepository
    location: 'http://www.squeaksource.com/htmlcssparser'
    user: 'sd'
    password: ''
If you have a good BNF you should have a look at Smacc which is a compiler 
compiler
else you can have a look at petitParser


There was long time ago an HTML parser

Probably here
MCHttpRepository
    location: 'http://www.squeaksource.com/Scamper'
    user: ''
    password: ''
But this is old so it may blow on your face.

Let us know if you need help.

Stef


On Mar 11, 2013, at 3:57 PM, Mohammad Al Houssami (Alumni) <[email protected]> 
wrote:

> If this is the case then I should see the new package I created right? But 
> when I look for it doesn't show. It's basically in the same state as when I 
> downloaded pharo and run it the first time. 
> Im opening the image file using pharo and not the other way around. Im not 
> sure if I make sense.
> 
> Thank you
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Yanni Chiu
> Sent: Monday, March 11, 2013 2:45 PM
> To: A friendly place where any question about pharo is welcome
> Subject: Re: [Pharo-users] Pharo .image loading issues.
> 
> 
> 
> On 11/03/13 7:21 AM, Mohammad Al Houssami (Alumni) wrote:
>> 
>> What I was doing is going to the image file and opening it using pharo.
>> That exactly Is by right click--> open with --> pharo.
>> Draging the image into pharo also it says the following : File 
>> 'HTML5.PARSER.image' is 20849204 bytes long.
> 
> You are already running the image. The PharaVM is not an IDE that you use to 
> open the 'HTML5.PARSER.image'. The PharoVM is already interpreting the some 
> .image file. I think you're trying to open the HTML5.PARSER.image file, from 
> within Pharo, which is treating it like a text file.
> 
> 
> 
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.2904 / Virus Database: 2641/6163 - Release Date: 03/10/13
> 
> 

Reply via email to