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

More transpiler functionality and fixes from Sprint 2 (started Aug 29) #431

Merged
merged 58 commits into from
Sep 17, 2023

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    28694e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54dbc8f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    cc8173c View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    eb75155 View commit details
    Browse the repository at this point in the history
  2. LE.hs: clean up imports a bit

    ym-han committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8af7cd1 View commit details
    Browse the repository at this point in the history
  3. Support ditto syntax -- though note that

    it’s quite important that
    * there not be empty cells in the head or body between contentful cells,
    * there not be `""` below the `DECIDE` --- if there are `""` below the `DECIDE`, then the stuff below will get parsed as distinct Hornlikes but without the givens, and the only way to then figure out what the original givens were will be very fragile
    ym-han committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    dcca73d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86c34d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f1e10a View commit details
    Browse the repository at this point in the history
  6. clean up

    ym-han committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    f83ae40 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    f6fe846 View commit details
    Browse the repository at this point in the history
  2. SimplifyL4.hs: Remove error from gmtexpr2gvar; add TODO for futur…

    …e: Check upfront for wehther there are non-text mtexpr variable names in the GIVENs; raise a `dispute` if so and print warning as comment in resulting .le
    ym-han committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    aee9f90 View commit details
    Browse the repository at this point in the history
  3. Improve haddock annotations

    ym-han committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d582be0 View commit details
    Browse the repository at this point in the history
  4. 2 Configuration menu
    Copy the full SHA
    833825e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3210fbb View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    fa6c305 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b94fc4 View commit details
    Browse the repository at this point in the history
  3. 1. Improve the RPRel handling in SimplifyL4.hs --- in particular, str…

    …eamline the code (remove overly complicated typeclass typeapplications stuff) while still getting compiler support for subtypes of RPRel, by using GADTs and my own RPRel-esque type
    
    2. Add support for arith comparison
    ym-han committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    81191f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    852da85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    354c4e9 View commit details
    Browse the repository at this point in the history
  3. ValidateL4Input.hs: temporarily disable warnings for this file since …

    …not working on it right now
    ym-han committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    c0847e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1ea453 View commit details
    Browse the repository at this point in the history
  5. WIP: refactor NLAs to allow for adding partial info within the argume…

    …nt places in NLAs (instead of just 'a var') and for more nuanced filtering downstream
    ym-han committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    a9fe34d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a26033a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    4570682 View commit details
    Browse the repository at this point in the history
  2. GenNLAs.hs: escape the pred txt for now (TODO: Add tests to check if …

    …have to escape metachars in Pred)
    ym-han committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    f9f2004 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4407256 View commit details
    Browse the repository at this point in the history
  4. GenNLAs.hs: fix subsumes

    ym-han committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    15bf0e5 View commit details
    Browse the repository at this point in the history
  5. clean up GenNLAs.hs some

    ym-han committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    6fd34ea View commit details
    Browse the repository at this point in the history
  6. start of utils for providing english-y translations of optics abstrac…

    …tions over concrete data structures
    ym-han committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    aeced88 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0db02d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    fa322b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b28f5b View commit details
    Browse the repository at this point in the history
  3. GenNLAs.hs: quick clean up

    ym-han committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    69ac373 View commit details
    Browse the repository at this point in the history
  4. GenNLAs.hs: coarsen unnecessary structure (should have been EQ-ing, H…

    …ashing NLAs with the NLATxts and not the bases)
    ym-han committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    99ce893 View commit details
    Browse the repository at this point in the history
  5. WIP: incorporate getNonSubsumed into LE.hs, but need to look into w…

    …hether rly need to escape stuff, and what to do when there is both an inferred NLA from is-num as well as another NLA with the same kind of pattern inferred from another use
    ym-han committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    b35daaf View commit details
    Browse the repository at this point in the history
  6. GenNLAs.hs and LE.hs: feat. filter out subsumed NLAs (if the subsumin…

    …g NLA has more vars than the subsumed one), among the non-lib NLAs. (Will need to handle subsumed but same-num-of-vars NLAs separately.)
    ym-han committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    472dc47 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5b83c4 View commit details
    Browse the repository at this point in the history
  8. LE.hs and GenNLAs.hs: more clean up; remove NLA pattern and just ex…

    …port the `NLA` record without exporting the accessors
    ym-han committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    9f74b2d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6293f14 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    7f7a9c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Configuration menu
    Copy the full SHA
    64e5e3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fd2543 View commit details
    Browse the repository at this point in the history
  3. GenNLAs.hs: clean up regextravify stuff; add comments to `rawregexify…

    …LENLA`; and add `regextravifyNLASection :: T.Text -> Maybe [RegexTrav]`
    ym-han committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    415fcd4 View commit details
    Browse the repository at this point in the history
  4. update lib hcs

    ym-han committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    68c78b3 View commit details
    Browse the repository at this point in the history
  5. update lib templates

    ym-han committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    6afc96a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5089129 View commit details
    Browse the repository at this point in the history
  7. some clean up

    ym-han committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    a9f5bc9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e253b17 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ed12bec View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. Configuration menu
    Copy the full SHA
    f9d50ef View commit details
    Browse the repository at this point in the history
  2. Consolidate all the 'top-level' orchestrating code for filtering out …

    …subsumed (etc) NLAs into one place (in LE.hs), to make code more modular and readable
    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    8f02faa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df1ec51 View commit details
    Browse the repository at this point in the history
  4. move (<||>) to LS.Utils

    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    813d25c View commit details
    Browse the repository at this point in the history
  5. Implement core functionality for filtering out dispreferred equivalen…

    …t-up-to-varnames (with same number of vars) NLAs
    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    d5e87dc View commit details
    Browse the repository at this point in the history
  6. LE Pretty.hs: include the filtered out templates that are equiv up to…

    … var names (and have the same number of vars) as comments in case the user didn't mean for them to be removed
    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    c1cd7a7 View commit details
    Browse the repository at this point in the history
  7. LS.Rule: move the Data-Generics-Sum-Constructors to comments, instead…

    … of having `isReg` and `isHlike` functions, to avoid confusing people
    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    0601d08 View commit details
    Browse the repository at this point in the history
  8. cleanup

    ym-han committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    63fda5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    725a4c4 View commit details
    Browse the repository at this point in the history