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
{{ message }}
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
The DSL was designed and implemented to run in both forward (AST->UAST) and reverse (UAST->AST) modes. This allows converting the native AST returned by drivers to a canonical form (UAST) and back to the native AST. Assuming #352 is solved this will allows us to render UAST into the source files.
However, to make this possible all operations defined by the DSL are required to be reversible (ast == RevOp(Op(ast))). SDK closely follows this requirement, but some drivers don't.
We should revisit the drivers and make sure we can always run the transformation pipelines in reverse.
This will also allow us to have a better test coverage for drivers by runing the pipeline in both directions..
The text was updated successfully, but these errors were encountered:
The DSL was designed and implemented to run in both forward (AST->UAST) and reverse (UAST->AST) modes. This allows converting the native AST returned by drivers to a canonical form (UAST) and back to the native AST. Assuming #352 is solved this will allows us to render UAST into the source files.
However, to make this possible all operations defined by the DSL are required to be reversible (
ast == RevOp(Op(ast))
). SDK closely follows this requirement, but some drivers don't.We should revisit the drivers and make sure we can always run the transformation pipelines in reverse.
This will also allow us to have a better test coverage for drivers by runing the pipeline in both directions..
The text was updated successfully, but these errors were encountered: