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

Matched tries #23

Closed
23 tasks done
rolyp opened this issue Apr 22, 2018 · 0 comments
Closed
23 tasks done

Matched tries #23

rolyp opened this issue Apr 22, 2018 · 0 comments

Comments

@rolyp
Copy link
Collaborator

rolyp commented Apr 22, 2018

More integrated view of explained values and the demands which forced them to evaluate. Precursor to implementing a UI.

  • new syntax for explanations, values
  • syntax of matched tries
  • reconcile product tries (which are "nested") with product expressions (which are "flat")
  • definition of "matching" a trie with a value
  • version of match-trie for explained values
  • version of matched-trie map for "explained" matched tries
  • "sequence" tries corresponding to n-ary products
  • implement matched tries as a separate step after evaluation
    • matchArgs problem: inj should expect a trie product, no?
    • matchArgs problem: don't understand how it should work
    • matchArgs problem: product (recursive case) looks wrong
  • reinstate type parameter for tries
    • Expr.Trie
    • Traced.Trie
    • Traced.Match
    • Instantiate
    • Primitive
    • Eval
    • Match
    • Helpers
    • replace instanceof with is pattern
  • typing rules for "explanations"
  • typing rules for matched tries should included contained explanations
  • basic validation of matched tries
@rolyp rolyp added the proposed label Apr 22, 2018
@rolyp rolyp changed the title Integrate tries into explained values Matched tries Apr 30, 2018
@rolyp rolyp added feature and removed proposed labels May 1, 2018
@rolyp rolyp closed this as completed May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant