Skip to content

Library to turn SEXPs into a Plump-DOM and back.

License

Zlib, Zlib licenses found

Licenses found

Zlib
LICENCE
Zlib
LICENSE
Notifications You must be signed in to change notification settings

Shinmera/plump-sexp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"))

If you have tags with case differences, you can also use strings for the tag and attribute names.

About

Library to turn SEXPs into a Plump-DOM and back.

Resources

License

Zlib, Zlib licenses found

Licenses found

Zlib
LICENCE
Zlib
LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •