<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">XML, good point. XMLisp combines S-expressions and XML into X-expression via CLOS, MOP, Lisp reader and Lisp printer:<div>- paper: <a href="http://www.cs.colorado.edu/~ralex/papers/PDF/X-expressions.pdf">http://www.cs.colorado.edu/~ralex/papers/PDF/X-expressions.pdf</a><br><div>- code (all in one file) <a href="http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XMLisp/XMLisp.lisp">http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XMLisp/XMLisp.lisp</a></div><div>- application: <a href="http://code.google.com/p/xmlisp/">http://code.google.com/p/xmlisp/</a></div><div><br></div><div>best,  Alex</div><div><br></div><div><br></div><div><br><div><div>On Jul 21, 2011, at 1:00 AM, Marco Antoniotti wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Well, since we are talking about XML stuff, I have another shameless plug myself then :)<br><br><span class="Apple-tab-span" style="white-space:pre">     </span><a href="http://within-parens.blogspot.com/2011/06/printing-xhtm.html">http://within-parens.blogspot.com/2011/06/printing-xhtm.html</a><br><br>All in all the pretty-printer is very nice, it'd be nice to have an agreed upon jazzed up version of CLOS dispatching.<br><br>Cheers<br><br>MA<br><br><br>On Jul 20, 2011, at 23:51 , Steve Haflich wrote:<br><br><blockquote type="cite">You might want to examine https://github.com/franzinc/net-xml-generator which is (sort-of) a DSL for generating and pretty-printing XML. It uses reader macros and the pretty-printer so that XML elements can be freely intermixed and nested inside Lisp code. (Unlike HTML, XML has an unbounded set of tags, so defining a finite set of keywords won't work.) <br></blockquote><blockquote type="cite">Download the zip and view the xhtml blurb in a browser. It self-referentially contains the Lisp code that generated it, which is probably harder to do in other languages.<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">pro mailing list<br></blockquote><blockquote type="cite">pro@common-lisp.net<br></blockquote><blockquote type="cite">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro<br></blockquote><br>--<br>Marco Antoniotti, Associate Professor<span class="Apple-tab-span" style="white-space:pre">  </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>tel.<span class="Apple-tab-span" style="white-space:pre">        </span>+39 - 02 64 48 79 01<br>DISCo, Università Milano Bicocca U14 2043<span class="Apple-tab-span" style="white-space:pre">     </span><span class="Apple-tab-span" style="white-space:pre">    </span>http://bimib.disco.unimib.it<br>Viale Sarca 336<br>I-20126 Milan (MI) ITALY<br><br>Please note that I am not checking my Spam-box anymore.<br>Please do not forward this email without asking me first.<br><br><br><br><br><br><br>_______________________________________________<br>pro mailing list<br>pro@common-lisp.net<br>http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Prof. Alexander Repenning</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px">University of Colorado</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Computer Science Department</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Boulder, CO 80309-430</p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">vCard: <a href="http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a></font></p><br class="Apple-interchange-newline"></span></span></span></span>
</div>
<br></div></div></body></html>