-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…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
…ics` and `optics`
…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
…not working on it right now
…nt places in NLAs (instead of just 'a var') and for more nuanced filtering downstream
…have to escape metachars in Pred)
…tions over concrete data structures
…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.)
…port the `NLA` record without exporting the accessors
…LENLA`; and add `regextravifyNLASection :: T.Text -> Maybe [RegexTrav]`
…eriod, just in case
…subsumed (etc) NLAs into one place (in LE.hs), to make code more modular and readable
…t-up-to-varnames (with same number of vars) NLAs
… var names (and have the same number of vars) as comments in case the user didn't mean for them to be removed
… of having `isReg` and `isHlike` functions, to avoid confusing people
ym-han
force-pushed
the
aug29-more-le-transpiler-fixes
branch
from
September 17, 2023 18:25
0b1589c
to
2757151
Compare
ym-han
force-pushed
the
aug29-more-le-transpiler-fixes
branch
from
September 17, 2023 18:29
2757151
to
725a4c4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes some of the bugs in the transpiler and adds more functionality. In a nutshell, most of the functionality required by the current encoding should be there, though there's still work to be done on testing, making the design more modular, improving error diagnostics, etc.
In particular, this PR
Rule
datatypeWe can try to cache the PCRE installation step in the github workflow more effectively in future work.
Co-authored-by: johsi-k johsi.k@gmail.com