[Openmcl-devel] ccl manual (was Re: trace on recursive functions)
raffaelcavallaro at mac.com
Sat Dec 12 14:14:18 UTC 2009
On Dec 11, 2009, at 9:36 PM, Ron Garret wrote:
> I can't stand it any more.
You beat me to it. Kind of through-the-looking-glass to see XML advocated on a lisp implementation mailing list.
In fact, there was even a thread back in may about how to get cl-who to turn this:
:track-mouse t :title "Objects" :margin 0
(:agent-3d-view :name "scene"
(:cube :texture "crate.png")
(:sphere :x 2.0)
(:sphere :x 3.0 :texture "earth.png")
(:cube :size 3.0 :z -3.5 :texture "crate.png")
(:cube :x 5 :roll 45.0)
(:sky-dome :pitch 90)))
<chatty-window track-mouse='track-mouse' title='Objects' margin='0'>
<sphere x='3.0' texture='earth.png'></sphere>
<cube size='3.0' z='-3.5' texture='crate.png'></cube>
<cube x='5' roll='45.0'></cube>
The macro to do it is less than 10 lines of lisp.
Seems like there should be a relatively simple way to do the round trip lisp->xml->lisp using cl-who and one of the several xml parsing lisp libraries (including Alex Repenning's XMLisp).
raffaelcavallaro at me.com
More information about the Openmcl-devel