1. Aug 17, 2017
    • Matthew Fernandez's avatar
      librumur: enable referencing of quantified variables within forall · 8bd2aa47
      Matthew Fernandez authored
      This works, but it makes me slightly nervous that the Var of a quantified
      variable is only sustained by shared_ptrs of ExprIDs related to where it is
      referenced. I.e. Once we traverse out of parsing the forall expression, the
      enclosing scope is closed and the Var is destroyed if it hasn't been referenced.
      On the one hand, this seems fine and might even help us later in detecting
      useless quantification. On the other hand, the lifetime of this Var object is
      quite slippery.
      8bd2aa47
    • Matthew Fernandez's avatar
      librumur: fix: remove accidentally shadowing field · c89084bd
      Matthew Fernandez authored
      Well that was a rude surprise. VarDecl lookups in the symbol table failed
      mysteriously and debugging indicated they had no name. Some digging revealed we
      were accidentally shadowing Decl::name.
      
      It is pretty surprising to me that -Wall -Wextra does not enable -Wshadow, which
      would have caught this. Unfortunately we can't turn it on right now because it
      sprays warnings about the constructors that shadow class members with their
      arguments. Sigh. I guess I'll have to refactor this before turning it on.
      c89084bd
    • Matthew Fernandez's avatar
      librumur: introduce new Var type · 55fa3302
      Matthew Fernandez authored
      This expression is used for referring to variables (either parts of the state or
      local variables). I'm still not sure this is the natural solution. It feels like
      this and ExprID should be a single class, but we'll see how it goes.
      55fa3302
    • Matthew Fernandez's avatar
      librumur: implement forall expressions · 15208239
      Matthew Fernandez authored
      Note that you can't currently reference the quantified variables within the
      forall expression as explained in the FIXME comment.
      15208239
  2. Aug 14, 2017
  3. Aug 13, 2017
  4. Aug 12, 2017
  5. Aug 11, 2017
  6. Aug 10, 2017
  7. Aug 09, 2017