You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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.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...
The text was updated successfully, but these errors were encountered: