-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[general] Backward conversion: NetJSON to native format conversion #70
Comments
nemesifier
changed the title
Backward conversion: NetJSON to native format conversion
[general] Backward conversion: NetJSON to native format conversion
May 20, 2017
nemesifier
added a commit
that referenced
this issue
May 25, 2017
This is the first step in implementing #70. This patch does not introduces changes of behaviour in the library, infact tests remain unaltered, except for their names (because they were named after renderer classes, which now are a much smaller part of the library). This patch introduces the concept of converter classes, which are responsible for converting the NetJSON configuration dictionary to an intermediate data structure that is then used by renderers to be rendered.
nemesifier
added a commit
that referenced
this issue
May 25, 2017
This is the first step in implementing #70. This patch does not introduces changes of behaviour in the library, infact tests remain unaltered, except for their names (because they were named after renderer classes, which now are a much smaller part of the library). This patch introduces the concept of converter classes, which are responsible for converting the NetJSON configuration dictionary to an intermediate data structure that is then used by renderers to be rendered.
nemesifier
added a commit
that referenced
this issue
May 25, 2017
This is the first step in implementing #70. This patch does not introduce changes of behaviour in the library, infact tests remain unaltered, except for their names (because they were named after renderer classes which now are a much smaller part of the library). This patch introduces the concept of converter classes, which are responsible for converting the NetJSON configuration dictionary to an intermediate data structure that is then used by renderers to be rendered. The backward conversion will then implement the reverse process: Parsers will be responsible of converting native configuration to the intermediate data structure; Converters will have a to_netjson method that will be responsible of converting the intermediate data structure to the NetJSON configuration dictionary.
nemesifier
added a commit
that referenced
this issue
May 25, 2017
This is the first step in implementing #70. This patch does not introduce changes of behaviour in the library, infact tests remain unaltered, except for their names (because they were named after renderer classes which now are a much smaller part of the library). This patch introduces the concept of converter classes, which are responsible for converting the NetJSON configuration dictionary to an intermediate data structure that is then used by renderers to be rendered. The backward conversion will then implement the reverse process: Parsers will be responsible of converting native configuration to the intermediate data structure; Converters will have a to_netjson method that will be responsible of converting the intermediate data structure to the NetJSON configuration dictionary.
nemesifier
added a commit
that referenced
this issue
May 25, 2017
This is the first step in implementing #70. This patch does not introduce changes of behaviour in the library, infact tests remain unaltered, except for their names (because they were named after renderer classes which now are a much smaller part of the library). This patch introduces the concept of converter classes, which are responsible for converting the NetJSON configuration dictionary to an intermediate data structure that is then used by renderers to be rendered. The backward conversion will then implement the reverse process: Parsers will be responsible of converting native configuration to the intermediate data structure; Converters will have a to_netjson method that will be responsible of converting the intermediate data structure to the NetJSON configuration dictionary.
nemesifier
added a commit
that referenced
this issue
May 26, 2017
This was referenced Jun 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm writing a prototype implementation of this feature. If it works well and simplifies the process we could use it.
The text was updated successfully, but these errors were encountered: