Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
Stephen Eilert spedr...@gmail.com writes: I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it. No need to apologize, I was using your discount egg up until a few days ago with great success! However, I got into a situation where I needed to fiddle a bit with the parse result which, after a bit of improper hacking, lead me to do it the proper way. Also, this was a good excuse for playing with parser combinators ;-) And reading and emitting strings is actually a nicer interface than what you'd normally write with Discount - took me a while to backtrack and redo it, it was going to be something much more complex to begin with. Oh, what is Discount's regular interface? In any case, I am not to sad to see the Discount egg die. Give it an horrible death. Well, it's still a lot fater than Lowdown so I wouldn't discard it just now. But it's your choice, of course! Moritz ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
On Sun, Aug 5, 2012 at 2:27 PM, Moritz Heidkamp mor...@twoticketsplease.dewrote: Fellow Chickeneers, yesterday I released the first version of Lowdown, a Markdown parser written in pure Chicken Scheme. The only other Markdown parser egg we had so far, discount, requires the corresponding C library and can only read and emit strings. Lowdown doesn't have any foreign dependencies, can read from strings or input ports (well, any lazy-seq of chars, really) and emits SXML. It passes all 22 tests of MarkdownTest version 1.0.3. I also started implementing a very basic extension API but that's not ready for public consumption, yet. For more information, check the documentation at the usual place: http://wiki.call-cc.org/eggref/4/lowdown Hope it's useful to anyone! Cool! I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it. And reading and emitting strings is actually a nicer interface than what you'd normally write with Discount - took me a while to backtrack and redo it, it was going to be something much more complex to begin with. In any case, I am not to sad to see the Discount egg die. Give it an horrible death. -- Stephen ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
On Mon, Aug 06, 2012 at 04:40:44PM -0300, Stephen Eilert wrote: Cool! I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it. That's perfectly fine. Writing a parser yourself is a lot of work, and you probably had bigger fish to fry at the time. Remember, Chicken is *practical* Scheme system. We get shit done around here! And reading and emitting strings is actually a nicer interface than what you'd normally write with Discount - took me a while to backtrack and redo it, it was going to be something much more complex to begin with. In any case, I am not to sad to see the Discount egg die. Give it an horrible death. If this is how you feel about the egg, I think it's probably a good idea to change its category to deprecated, and put a note on the wiki page pointing people to the lowdown egg. This provides some transparency about the egg's status, and guides people's expectations. Cheers, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music. -- Donald Knuth ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
On Mon, Aug 6, 2012 at 4:49 PM, Peter Bex peter@xs4all.nl wrote: On Mon, Aug 06, 2012 at 04:40:44PM -0300, Stephen Eilert wrote: Cool! I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it. That's perfectly fine. Writing a parser yourself is a lot of work, and you probably had bigger fish to fry at the time. Remember, Chicken is *practical* Scheme system. We get shit done around here! And reading and emitting strings is actually a nicer interface than what you'd normally write with Discount - took me a while to backtrack and redo it, it was going to be something much more complex to begin with. In any case, I am not to sad to see the Discount egg die. Give it an horrible death. If this is how you feel about the egg, I think it's probably a good idea to change its category to deprecated, and put a note on the wiki page pointing people to the lowdown egg. This provides some transparency about the egg's status, and guides people's expectations. I don't hate it. However, since we have a pure Chicken version, I see no reason to have it around. Unless it turns out there are people besides me using it. In that case, I could give it some love. -- Stephen ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
[...] We get shit done around here! YEEHAW! cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser
On Sun, Aug 05, 2012 at 07:27:48PM +0200, Moritz Heidkamp wrote: Fellow Chickeneers, yesterday I released the first version of Lowdown, a Markdown parser written in pure Chicken Scheme. The only other Markdown parser egg we had so far, discount, requires the corresponding C library and can only read and emit strings. Lowdown doesn't have any foreign dependencies, can read from strings or input ports (well, any lazy-seq of chars, really) and emits SXML. So it's parens all the way (low)down Great work, Moritz! It passes all 22 tests of MarkdownTest version 1.0.3. I also started implementing a very basic extension API but that's not ready for public consumption, yet. For more information, check the documentation at the usual place: http://wiki.call-cc.org/eggref/4/lowdown Unlike the discount parser (and the original Markdown.pl for that matter) it passes all 22 tests of the MarkdownTest suite And I seem to recall you mentioned it's faster than the original Markdown.pl too. Man, those guys are probably crapping their pants now. Perl, whipped by Scheme at its own game of text processing :) Cheers, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music. -- Donald Knuth ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users