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

Release 0.4.1 #71

Merged
merged 33 commits into from Sep 1, 2015
Merged

Release 0.4.1 #71

merged 33 commits into from Sep 1, 2015

Conversation

mantkiew
Copy link
Member

  • Fixed problems with automatic dereferencing.
  • Fixed type system problems
    • Properly typing types of references and unions.
    • Smarter automatic dereferencing.
    • Automatically adding some quantifier when needed, see quantifierAndDefaultSome.cfr and ifthenelse.cfr.
    • Fixed typing of if/then/else expressions allowing both boolean and non-boolean consequents, see i144-if-then-else.cfr and ifthenelse.cfr.
    • Improved handling of union types.
    • Improved error messages.
    • Fixed incorrect typing of quantified expressions with and without local declarations:
      • for some P, no P, one P, P must not be TBoolean, whereas
      • for some x : X | P, no x : X | P, one x : X | P, X must not be TBoolean and P must be TBoolean.
  • Added Alloy and Choco escapes, see escapes.cfr. Code in Alloy escapes is included at the beginning of the Alloy output, whereas, Choco escapes are included at the end of Choco output.
  • Block and line comments, as well as Alloy and Choco escape blocks are new token types, which retain their position for easier processing.
  • Changed ref to dref.
  • Added handling and deprecation warnings for deprecated ref and &; instead dref and ** should be used, see deprecated.cfr
  • Fixed bugs with incorrect addition of .drefs in arithmetic, see arithmetic.cfr.
  • Fixed missing links bugs in HTML output.
    • Preserve positions which were lost in Desugarer, ResolverName, and Optimizer, making it impossible to trace back from Ast to IR in some cases.
    • Links were incorrectly generated for this, parent, and dref.
  • Avoided unnecessary double parsing in Clafer.parse.
  • Added continuous integration with TravisCI. Restored compatibility with GHC 7.8.3, 7.8.4, 7.10.1, and 7.10.2.
  • Added support for stack tool, both GHC 7.8.4 with LTS-2.22 and 7.10.2 with LTS-3.3 work.

@mantkiew mantkiew self-assigned this Aug 15, 2015
@mantkiew mantkiew added this to the 0.4.1 milestone Aug 15, 2015
…+ updated regressions

if a join with dref was added, left rotate the navigation path tree
…em. Their Alloy regression tests are identical. Updated .dot regression

test/positive/NestedInheritanceAndReference2.cfr
test/positive/mergeExpAndSetExpAlloy.cfr
test/positive/i84-references-pointing-to-the-same-object.cfr
test/positive/EDM_Intro.cfr
…ns of PExp: fixes missing links in HTML problems. Updated regressions.
mantkiew added a commit that referenced this pull request Sep 1, 2015
@mantkiew mantkiew merged commit ab18f70 into master Sep 1, 2015
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

Successfully merging this pull request may close these issues.

None yet

1 participant