[Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
Good morning-- Or good afternoon if you're in one of those other time zones. I have observed the following undesired behavior: 1. Take a Markdown fragment containing a link, e.g.: This fragment contains a link to [Chicken Scheme](http://call-cc.org). 2. Convert w/ markdown-sxml: ((p This

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread John Cowan
Matt Gushee scripsit: 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not well-formed SXML. Not only is the URL incorrectly being wrapped in

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Andy Bennett
Hi, 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not well-formed SXML. Not only is the URL incorrectly being wrapped in a list, but the

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread John Cowan
Andy Bennett scripsit: Unfortunately some of the SXML tooling is OK with something that isn't an element name appearing in the car of a list and some of it isn't. Be conservative in what you do, liberal in what you accept from others. Any routine that purports to generate SXML should do just

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
Hi, John etc.-- On Fri, Oct 11, 2013 at 7:58 AM, John Cowan co...@mercury.ccil.org wrote: 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Moritz Heidkamp
Hi Matt, Matt Gushee m...@gushee.net writes: I have observed the following undesired behavior: [...] Any solutions for this? I'm sorry that I didn't get around to changing Lowdown so that it produces SXML conformant with the spec, yet. In the meantime you can use this code to clean it up I

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
That seems to work. Thank you very much! On Fri, Oct 11, 2013 at 4:07 PM, Moritz Heidkamp mor...@twoticketsplease.de wrote: Hi Matt, Matt Gushee m...@gushee.net writes: I have observed the following undesired behavior: [...] Any solutions for this? I'm sorry that I didn't get around to

[Chicken-users] Unix Scripting in Chicken

2013-10-11 Thread Danny Gratzer
Hi all! I've become a little frustrated with using Python for various one-off scripts and automations. Is it common to use Chicken for such tasks? If so, what are some useful libraries to poke at? Cheers, Danny Gratzer ___ Chicken-users mailing list

Re: [Chicken-users] Unix Scripting in Chicken

2013-10-11 Thread Matt Gushee
Hi, Danny-- Interesting question. I don't know that I have the expertise to give you a whole lot of advice, but this is something I have been interested in, and I also come from a Python background. My short answer is that I don't feel that Chicken Scheme is a great tool for this kind of thing,

Re: [Chicken-users] Unix Scripting in Chicken

2013-10-11 Thread Evan Hanson
Hi Danny, SCSH was made for just this, and Peter has ported much of it to CHICKEN -- have a look at the scsh-process egg: http://wiki.call-cc.org/eggref/4/scsh-process Evan ___ Chicken-users mailing list Chicken-users@nongnu.org