1. 25 Jul, 2018 1 commit
  2. 17 Jul, 2018 1 commit
    • Andrei Paskevich's avatar
      Ident: disambiguated symbolic notation · 295cacf4
      Andrei Paskevich authored
      It is possible to append an arbitary number of quote symbols
      at the end of an prefix/infix/mixfix operator:
      
                  applied form      standalone form
      
                    -' 42               (-'_)
                    x +' y              (+')
                    a[0]' <- 1          ([]'<-)
      
      Pretty-printing will use the quote symbols for disambiguation.
      
      The derived symbols can be produced by Why3 by appending
      a suffix of the form "_toto" or "'toto". These symbols can
      be parsed/printed as "(+)_toto" or "(+)'toto", respectively.
      295cacf4
  3. 11 Jul, 2018 2 commits
  4. 07 Jul, 2018 1 commit
    • Andrei Paskevich's avatar
      confine all notation handling inside Ident · 0fea401c
      Andrei Paskevich authored
      This commit removes all hard-coded "infix ..", "prefix ..",
      and "mixfix .." from the rest of the code, and handles the
      symbolic notation entirely inside Ident. It does not change
      the notation itself.
      0fea401c
  5. 27 Jun, 2018 1 commit
  6. 21 Jun, 2018 2 commits
  7. 18 Jun, 2018 1 commit
  8. 15 Jun, 2018 2 commits
  9. 14 Jun, 2018 1 commit
  10. 07 Jun, 2018 2 commits
  11. 05 Jun, 2018 1 commit
  12. 04 Jun, 2018 1 commit
  13. 01 Jun, 2018 1 commit
  14. 31 May, 2018 2 commits
  15. 01 May, 2018 1 commit
    • Sylvain Dailler's avatar
      Tentatively add new error handling mode of menhir · 68532c3b
      Sylvain Dailler authored
      This commit tries to add the new parsing errors from menhir. It changes
      the lexer so that precise error made from the provided handcrafted.messages
      can be displayed on failure.
      Also fix #111
      
      * Makefile.in
      This adds a rule for src/parser/parser_messages.ml which either compile
      the messages or regenerates them. It needs regeneration when changes are
      added in .mly or .messages file. This also adds option .DELETE_ON_ERROR.
      
      * src/parser/lexer.mll
      The parser now uses loop_handle function from menhir (see menhir ref.
      manual).
      
      * src/parser/report.ml
      Added file from Compcert's preparser to report error from "checkpoint". It
      allows to use $0 notation in handcrafted.messages
      
      * src/parser/handcrafted.messages
      To be edited file for error messages.
      
      * bench/*
      Adding a parsing-bench for parsing errors following the model of ce-bench:
      an oracle is provided so that error messages are not lost.
      68532c3b
  16. 16 Apr, 2018 2 commits
  17. 11 Apr, 2018 1 commit
  18. 06 Apr, 2018 1 commit
  19. 21 Mar, 2018 1 commit
    • Guillaume Melquiond's avatar
      Homogenize constructor names. · 6ef0273e
      Guillaume Melquiond authored
      The pattern-matching construct in the logic is now systematically named
      "Tcase" in constructors (Ptree.Tmatch -> Tcase). The one in the
      programs (supporting exceptions) is now systematically named "Ematch"
      (Expr.Ecase -> Ematch, Dexpr.DEcase -> DEmatch). They are now homogeneous
      with the other constructors: Term.Tcase, Dterm.DTcase, Ptree.Ematch,
      Mltree.Ematch. Smart constructor Expr.e_case was renamed accordingly.
      6ef0273e
  20. 20 Mar, 2018 1 commit
  21. 21 Feb, 2018 2 commits
  22. 16 Feb, 2018 2 commits
  23. 14 Feb, 2018 2 commits
  24. 12 Jan, 2018 1 commit
  25. 11 Jan, 2018 1 commit
  26. 24 Dec, 2017 1 commit
  27. 13 Dec, 2017 1 commit
  28. 07 Dec, 2017 2 commits
  29. 22 Nov, 2017 1 commit
  30. 13 Jul, 2017 1 commit