Would be be possible to define a new macro for creating lfeml pages? E.g.,
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...
Would be be possible to define a new macro for creating lfeml pages? E.g.,
or
with various function definitions in them (or outside of them, possibly in .lfe files).
Everything inside
(defpage ...)could then get rendered tosome-name.htmlin 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...