Skip to content
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

Closed
nemesifier opened this issue May 16, 2017 · 0 comments
Closed
Assignees

Comments

@nemesifier
Copy link
Member

I'm writing a prototype implementation of this feature. If it works well and simplifies the process we could use it.

@nemesifier nemesifier self-assigned this May 16, 2017
@nemesifier 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 nemesifier added this to the [GSoC 17] First evaluation milestone Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant