-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
25 lines (17 loc) · 1.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Hosted at: http://github.com/Hexstream/hextml
This library makes it easy to build a representation of HTML as lisp
objects, which you can then inspect/transform/output. There is an
included optimizer and compiler which produces highly efficient code.
A lot of code which would normally be considered "dynamic" is treated
as if it was "static" (ex: basic branching and looping).
It also includes a macro to directly output HTML with lisp code
embedded (the model currently used by most lisp HTML libraries).
Consecutive static strings are joined together into a single output
operation for efficiency and macroexpansion readability.
The syntax for both these modes (build VS output) is almost exactly
the same, resulting in less cognitive context-switching.
Of interest: in more than 99.5% of cases, you don't need to explicitly
re-enter the HTML context after having embedded dynamic lisp code, the
parsers figure it out automatically and reliably.
This library is in the Public Domain.
See the UNLICENSE file for details.