strategic term rewriting and its application to a vdm sl
play

Strategic Term Rewriting and Its Application to a VDM-SL to SQL - PowerPoint PPT Presentation

Strategic Term Rewriting and Its Application to a VDM-SL to SQL Conversion Review Outline Goal of the paper Algebraic design by calculation VooDooM model Conclusions and future work Goal of the paper Convert datatypes in


  1. Strategic Term Rewriting and Its Application to a VDM-SL to SQL Conversion Review

  2. Outline ● Goal of the paper ● Algebraic design by calculation ● VooDooM model ● Conclusions and future work

  3. Goal of the paper Convert datatypes in VDM-SL to SQL relational data models

  4. How? ● Conversion : Transforming algebraic types to maps and products ● Implementation technology : Haskell

  5. Database design by calculation Abstraction and representation where:

  6. Database design by calculation Datatype B implements or refines datatype A

  7. Database design by calculation Preorder

  8. Database design by calculation Conversion laws

  9. Database design by calculation Normal form

  10. Strategic term rewriting Traditional term Strategic term rewritting rewritting Programmable Programmable Fixed Programmable equations equations Strategy Strategy Combined strategies

  11. VooDooM Tool

  12. Transformation Refinement of the VDM-SL data types to a relational form ● Inlining and recursion removal ● Desugaring ● Conversion to relational form ● Resugaring

  13. SQL translation

  14. Conclusions and future work ● Automatic database schema generation ● In comparison with other approaches with the VooDooM the source data-model can be arbitrarily complex ● Reverse process: obtain algebraic data types from a relational model

Recommend


More recommend