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
The idea here is to allow the user to select which templating mechanism they want to use (e.g. Jinja2), and the compiler is the current renderer, which translates XML or JSON into a Embed object and/or view.
This is a diagram of the new process, perhaps a v2.0.0 release?
Update 1
Proposal has gone through. With some changes
The names have tweaked.
Compiler is decomposed into Parser, and Deserializer.
Parser is required to fetch the embed or menus, and deserializer converts the text/document into objects.
Renderer is now passed into the QalibContext rather than the QalibContext instantiating the Renderer, allowing for dependency injections and variants of Renderers.
There are RenderingOptions to control when and how the document is templated before being deserialized.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The idea here is to allow the user to select which templating mechanism they want to use (e.g. Jinja2), and the compiler is the current renderer, which translates XML or JSON into a Embed object and/or view.
This is a diagram of the new process, perhaps a v2.0.0 release?
Update 1
Proposal has gone through. With some changes
The names have tweaked.
Instead of Qalib
Beta Was this translation helpful? Give feedback.
All reactions