forked from oubiwann/exemplar
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Milestone
Description
Would be be possible to define a new macro for creating lfeml pages? E.g.,
(defpage some-name
...)or
(deftemplate some-name
...)with various function definitions in them (or outside of them, possibly in .lfe files).
Everything inside (defpage ...) could then get rendered to some-name.html in a configured directory (a la Hoplon).
All .lfe files would have to get compiled first. Then .lfeml files would get compiled. Server-side files would be .lfe, compiled to .beam. Client-side files would be .lfeml, compiled to .html. It might even be possible to slurp the .lfeml files in, call the page macross, and write the result out.
Need to think about the machinery of this some more...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels