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

Refactor & clean up #148

Open
23 of 29 tasks
epost opened this issue Aug 7, 2019 · 0 comments
Open
23 of 29 tasks

Refactor & clean up #148

epost opened this issue Aug 7, 2019 · 0 comments
Assignees

Comments

@epost
Copy link
Member

epost commented Aug 7, 2019

  • Reformat examples/*.cql.
  • Move code in Language to Language.CQL.
  • Move code in Parser.hs to Parser/Program.hs.
    • Simplify code.
    • Clarify variable naming.
  • Move QuickCheck generator for parsers under test dir tree.
  • Tighten imports.
  • Organise test code sensibly.
  • Move dependencies in packages.yaml from dependencies to test dependencies where possible.
  • Split off Morphism.hs from Term.hs.
  • Split off Collage.hs from Term.hs.
  • Split off Presentation.hs from Instance.hs
  • Split off Algebra.hs from Instance.hs
  • move assembleGens from Instance into Collage
  • rename simplifyFix to simplifyTheory in Term.hs
    • rename simplify to simplifyTheoryStep in Term.hs
  • Introduce Theory type alias in Term.hs
  • Rename findSimplifiable -> findSimplifiableEqs in Term.hs
  • Rename simplifyAlg -> A.simplify
  • Rename presToCol to IP.toCollage
  • Rename schToCol to Schema.toCollage
  • Refactor schToCol
    • modularise uppgrading of EQuations
  • Rename tsToCol to Typeside.toCollage
  • Rename xxxToCol to Xxx.toCollage
  • Rename checkSatisfaction -> I.satisfiesSchema
  • Rename typecheckPresentation -> IP.typecheck
  • Use Carrier type alias in Instance.hs
  • Split off Theory.hs from Term.hs? (Consider making it a submodule of something.)
@epost epost self-assigned this Aug 7, 2019
epost added a commit that referenced this issue Aug 7, 2019
epost added a commit that referenced this issue Aug 8, 2019
epost added a commit that referenced this issue Aug 11, 2019
epost added a commit that referenced this issue Aug 12, 2019
epost added a commit that referenced this issue Aug 12, 2019
* Move into Language.CQL.Parser.Program.

* Simplify some of the stuff inside.
epost added a commit that referenced this issue Aug 14, 2019
epost added a commit that referenced this issue Aug 14, 2019
epost added a commit that referenced this issue Aug 15, 2019
epost added a commit that referenced this issue Aug 15, 2019
* Some cleanup and explicit typing. 148.

* Move modules to Language.CQL. #148

* Clean up Program parsers. #148

* Clean up Program parsers. #148

* Move into Language.CQL.Parser.Program.

* Simplify some of the stuff inside.

* Move QuickCheck generator for Parser into test dir. #148

* More cleanup. #148

* Segregate morphism code into Morphism.hs. #148

* Tighten imports from Morphism. #148

* Rename Morphism-related functions for clarity. #148

* Improve naming and qualification of Morphism-related functions. #148

* Move Collage into its own separate module. #148

* Fix typo in 'lower' doc comment. #148
epost added a commit that referenced this issue Aug 21, 2019
epost added a commit that referenced this issue Aug 21, 2019
epost added a commit that referenced this issue Aug 22, 2019
epost added a commit that referenced this issue Aug 22, 2019
epost added a commit that referenced this issue Aug 22, 2019
epost added a commit that referenced this issue Aug 22, 2019
epost added a commit that referenced this issue Aug 23, 2019
* Move assembleGens from Instance into Collage. #148

* Move Presentation into its own module Instance.Presentation. #148

* Clean up code in and around Instance.Presentation. #148

* Assorted formatting, refactoring, commenting. #148

* Rename checkSatisfaction -> I.satisfiesSchema, typecheckPresentation -> IP.typecheck. #148

* in Presentation, rename eqs0 to eqs and fully qualify as IP.eqs. #148

* Move Algebra into its own module Instance.Algebra. #148

* Instance.hs: move satisfiesSchema down a bit. #148

* Rename presToCol to IP.toCollage. #148

* Remove duplicate simplifyAlg and rename to A.simplify. #148

* Rename Term.simplifyFix to Term.simplifyTheory. #148

* Term.hs: Rename findSimplifiable -> findSimplifiableEqs. #148

* Term.hs: Introduce Theory type alias. #148

* Misc comments and formatting. #148

* Instance.hs: Use Carrier type alias where it fits. #148

* Clean up leftovers from moving Carrier and TalgGen into Algebra. #148

* Term.hs: move Head directly under Term. #148

* Term.hs: rename replace' -> replace. #148

* Simplify and clean up findSimplifiableEq. #148
@epost epost pinned this issue Aug 23, 2019
@epost epost changed the title Cleanup Refactor & clean up Aug 23, 2019
epost added a commit that referenced this issue Aug 23, 2019
epost added a commit that referenced this issue Aug 23, 2019
epost added a commit that referenced this issue Aug 23, 2019
epost added a commit that referenced this issue Aug 23, 2019
epost added a commit that referenced this issue Aug 23, 2019
marcosh added a commit that referenced this issue Jan 21, 2020
marcosh pushed a commit that referenced this issue Jan 21, 2020
marcosh pushed a commit that referenced this issue Jan 21, 2020
marcosh added a commit that referenced this issue Jan 21, 2020
marcosh added a commit that referenced this issue Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant