[Bese-devel] with-xml-syntax in yaclml

Attila Lendvai attila.lendvai at gmail.com
Sun May 14 14:39:28 UTC 2006


so i've pushed everything to yaclml, and just now i noticed that i've
replaced the with-xml-syntax function with a macro.

previously it was playing with lambdas to set the proper state at read
time, but now it's a simple macro that does the same (hopefully).

(with-xml-syntax
  <foo :bar "baz"
  (call some lisp)>)

expands to:

(PROGN
 (WRITE-STRING "<foo bar=\"baz\"
  >"
               *YACLML-STREAM*)
 (CALL SOME LISP)
 (WRITE-STRING "</foo
>"
               *YACLML-STREAM*)
 NIL)

i think it was not widely used and i hope it does not cause confusion.

- attila

(alias 101 on irc &no 'its not lisp code :)


More information about the bese-devel mailing list