Library to turn SEXPs into a Plump-DOM and back.
HTML Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENCE
README.md
about.html
plump-sexp.asd
plump-sexp.lisp

README.md

plump-sexp

Yet another SEXP to HTML thing. This time with Plump back-end.

(plump:serialize (plump-sexp:parse '((div :id "foo") (p "bar") "baz")))
=> <div id="foo"><p>bar</p>baz</div>

Of course, you can now also transform any kind of Plump document into such an SEXP tree:

(plump-sexp:serialize (plump:parse "<div id="bar"><p>foo</p>baz</div>"))
=> (:!ROOT ((:DIV :ID "bar") (:P "foo") "baz"))