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.
  3. 11 Jul, 2018 1 commit
    • Mário Pereira's avatar
      Multiple "use": multiple module names allowed after "use". For instance: · 6fae2d4a
      Mário Pereira authored
        use int.Int, set.Fset, ref.Ref
        (as updated in the pigeonhole.mlw file)
      Any module name can be followed by a "as M" clause, but only a single "import"
      is allowed. For instance:
        use import int.Int as I, map.Map as M
      imports both Int and Map. To import Int but not Map, one would have to write
        use import int.Int as I
        use map.Map as M
  4. 27 Jun, 2018 1 commit
  5. 18 Jun, 2018 1 commit
  6. 14 Jun, 2018 1 commit
  7. 07 Jun, 2018 2 commits
  8. 05 Jun, 2018 1 commit
  9. 04 Jun, 2018 1 commit
  10. 01 Jun, 2018 1 commit
  11. 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.
      * 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.