Updated: 11/5/2005; 6:08:46 PM.
Chris Double's Radio Weblog
        

Sunday, May 01, 2005

My parents are selling their farm in Greytown, New Zealand.  If you're interested in living the country lifestyle on a small farm in New Zealand, details here.

4:04:17 PM      

I've updated my parser combinator library for Factor so it runs on the latest CVS version of Factor. The library itself is based on a version described in the Clean programming manual.

As the Factor CVS tends to be in a state of work and not always able to be bootstrapped I've put a darcs archive of a version of Factor where the combinator library works on. The following darcs command will get this version of Factor (It's also the version of Factor running the online Factor browser:
    darcs get http://factor.modalwebserver.co.nz/factor
To bootstrap this version of Factor on a Linux x86 machine, the bootstrap image is included in the archive. The following sequence of commands demonstrates how to load the parser combinators:
    cd factor/Factor/Factor
./f boot.image.le32
./f factor.image
"/somedir/parser-combinators/lazy.factor" run-file
"/somedir/parser-combinators/parser-combinators.factor" run-file
USE: lazy
USE: parser-combinators
...other code
The parser combinator library itself can be retrieved with this darcs command:
    darcs get http://factor.modalwebserver.co.nz/parser-combinators
The continuation based web server examples are also there:
    darcs get http://factor.modalwebserver.co.nz/cont-responder
Documentation for the Parser Combinator library is here. It also uses a Lazy Lists library which needs to be loaded first.

3:24:44 PM      

© Copyright 2005 Chris Double.
 
May 2005
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Apr   Jun



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.