Re: [Chicken-users] Parsing Simple Markup

2014-09-21 Thread Peter Bex
On Sat, Sep 20, 2014 at 11:19:08AM -0400, Yves Cloutier wrote: Hello, I am a new user to Scheme in general and to Chicken in particular, nice to meet you all. Hello Yves, and welcome to the CHICKEN community! I came to scheme looking for an alternative to Perl for doing a personal

Re: [Chicken-users] Parsing Simple Markup

2014-09-21 Thread Andy Bennett
Hi, I am a new user to Scheme in general and to Chicken in particular, nice to meet you all. Welcome! A few examples of what I am trying to parse: 1. Tags that identify structural elements of a document: [chapter] Chapter Title [heading1] Heading Title [list] ... [end] [quote]

Re: [Chicken-users] Parsing Simple Markup

2014-09-21 Thread Yves Cloutier
Peter/Andy/Richard, Thanks so much for your replies. Richard: Thanks for showing me how to install input-parse from the command line...I had no idea!. Also thanks for the link comparing how things are done using Python as a comparison. Got me reading a file in 30 seconds! And/Peter: Thank

Re: [Chicken-users] Parsing Simple Markup

2014-09-21 Thread Arthur Maciel
Dear Yves, with SXML you could write transformation rules as Peter has shown in www.more-magic.net/docs/scheme/sxslt.pdf. I'm not experienced with SXML, but AFAIK they would generate a similar effect as the procedures in your example below. Best wishes, Arthur 2014-09-21 17:06 GMT-03:00 Yves