Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

  1. 08 May, 2021 1 commit
  2. 14 Nov, 2020 1 commit
  3. 07 Jul, 2020 1 commit
    • Xavier Leroy's avatar
      Bytecode-only build (#243) · 9af28924
      Xavier Leroy authored
      If ocamlopt (the native-code OCaml compiler) is not available,
      fall back to building with ocamlc (the bytecode OCaml compiler).
      
      Fixes: #359
      9af28924
  4. 06 Feb, 2020 1 commit
    • Xavier Leroy's avatar
      Compatibility with OCaml 4.10 (#214) · d5435a34
      Xavier Leroy authored
      debug/DwarfPrinter.mli: unused functor parameter trigger warning 69,
        replace by non-dependent functor type.
      Makefile.extr: turn warning 69 (unused functor parameter) off
        for extracted code
      configure: accept OCaml versions above 4.09
      configure: update messages for unsupported versions of OCaml and Coq
      d5435a34
  5. 05 Feb, 2020 1 commit
    • Xavier Leroy's avatar
      Revised menhirLib autoconfiguration (#331) · 6950ac8f
      Xavier Leroy authored
      Since Menhir version 20200123, we need to link with menhirLib.cmxa
      instead of menhirLib.cmx.
      
      This commit chooses automatically the file to link with:
      menhirLib.cmxa if it exists in the menhirLib installation directory,
      menhirLib.cmx otherwise.
      
      To reliably find the installation directory, configure was changed
      to record the menhirLib directory in Makefile.config, variable MENHIR_DIR,
      instead of a pre-cooked command-line option MENHIR_INCLUDES.
      
      Makefile.extr was adapted accordingly.
      
      Fixes: #329
      Closes: #330
      6950ac8f
  6. 05 Jul, 2019 1 commit
    • Jacques-Henri Jourdan's avatar
      New parser based on new version of the Coq backend of Menhir (#276) · 998f3c5f
      Jacques-Henri Jourdan authored
      What's new:
      
      1. A rewrite of the Coq interpreter of Menhir automaton, with
         dependent types removing the need for runtime checks for the
         well-formedness of the LR stack. This seem to cause some speedup on
         the parsing time (~10% for lexing + parsing).
      
      2. Thanks to 1., it is now possible to avoid the use of int31 for
         comparing symbols: Since this is only used for validation,
         positives are enough.
      
      3. Speedup of Validation: on my machine, the time needed for compiling
         Parser.v goes from about 2 minutes to about 1 minute. This seem to
         be related to a performance bug in the completeness validator and
         to the use of positive instead of int31.
      
      3. Menhir now generates a dedicated inductive type for
         (semantic-value-carrying) tokens (in addition to the already
         existing inductive type for (non-semantic-value-carrying)
         terminals. The end result is that the OCaml support code for the
         parser no longer contain calls to Obj.magic. The bad side of this
         change is that the formal specification of the parser is perhaps
         harder to read.
      
      4. The parser and its library are now free of axioms (I used to use
         axiom K and proof irrelevance for easing proofs involving dependent
         types).
      
      5. Use of a dedicated custom negative coinductive type for the input
         stream of tokens, instead of Coq stdlib's `Stream`. `Stream` is a
         positive coinductive type, which are now deprecated by Coq.
      
      6. The fuel of the parser is now specified using its logarithm instead
         of its actual value. This makes it possible to give large fuel
         values instead of using the `let rec fuel = S fuel` hack.
      
      7. Some refactoring in the lexer, the parser and the Cabs syntax tree.
      
      The corresponding changes in Menhir have been released as part of
      version 20190626. The `MenhirLib` directory is identical to the
      content of the `src` directory of the corresponding `coq-menhirlib`
      opam package except that:
         - In order to try to make CompCert compatible with several Menhir
           versions without updates, we do not check the version of menhir
           is compatible with the version of coq-menhirlib. Hence the
           `Version.v` file is not present in CompCert's copy.
         - Build-system related files have been removed.
      998f3c5f
  7. 14 Feb, 2017 1 commit
  8. 01 Feb, 2017 1 commit
    • Bernhard Schommer's avatar
      Add LINK_OPT and document it. · 71fa5147
      Bernhard Schommer authored
      The new Makefile variable LINK_OPT can be used to specify
      additional linker flags for different operating systems, like
      linking with setargv.obj under windows.
      Bug 20871
      71fa5147
  9. 20 Jul, 2016 1 commit
    • Bernhard Schommer's avatar
      Added simplified reader and printer for gnu @files · f22c32dc
      Bernhard Schommer authored
      The functions expandargv and writeargv resemble the functions from
      the libiberity that are used by the gnu tools. Additionaly a new
      configuration is added in order to determine which kind of response
      files are supported for calls to other tools.
      Bug 18308
      f22c32dc
  10. 21 Jun, 2016 1 commit
    • Bernhard Schommer's avatar
      Remove code that will is deprecated in ocaml 4.03 · 7237ccb6
      Bernhard Schommer authored
      Most of the code can be String.uppercase usages can either be
      replaced by a more specialized version of coqstring_of_camlstring
      (which is also slightly more effecient) or by specialized checks
      that reject wrong code earlier.
      Bug 19187
      7237ccb6
  11. 24 May, 2016 1 commit
  12. 13 May, 2016 1 commit
    • Bernhard Schommer's avatar
      Split dependency generation. · 9864e348
      Bernhard Schommer authored
      GNU make under windows seems to have a restriction to 8192 characters
      for commandline arguments. The dependency generation of compcert is
      too large. Thus we split it into two steps.
      9864e348
  13. 31 Mar, 2016 1 commit
  14. 15 Mar, 2016 1 commit
  15. 10 Mar, 2016 1 commit
    • Bernhard Schommer's avatar
      Upgrade ocaml version needed and enable more warnings. · 12dd7431
      Bernhard Schommer authored
      Since the menhir version we use requires ocaml>4.02 we can also
      upgrade the required ocaml version to >4.02 and remove the
      deprecate String functions.
      Also we now activate all warnings except for 4,9 und 27 for regular
      code plus a bunch of warnings for the generated code. 4 and 9 are
      not really usefull and 27 is deactivated since until the usage
      string is printed in a way that requires no newline.
      Bug 18394.
      12dd7431
  16. 21 Jan, 2016 2 commits
  17. 07 Dec, 2015 1 commit
  18. 13 Nov, 2015 1 commit
  19. 23 Oct, 2015 3 commits
    • François Pottier's avatar
      08575b87
    • François Pottier's avatar
      Install the new system for reporting syntax errors. · f8be3f5f
      François Pottier authored
      This requires the development version of Menhir, to be released soon.
      In summary:
      
      handcrafted.messages is new.
        It contains a mapping of erroneous sentences to error messages,
        together with a lot of comments.
      
      Makefile.extr is new.
        It contains a rule to generate cparser/pre_parser_messages.ml
        based on this mapping.
      
      cparser/ErrorReports.{ml,mli} are new.
        They construct syntax error messages, based on the compiled mapping.
      
      cparser/Lexer.mll is modified.
        The last two tokens that have been read are stored in a buffer.
        ErrorReports is called to construct a syntax error message.
      
      cparser/GNUmakefile is new.
        It offers several commands for working on the pre-parser.
      
      cparser/deLexer.ml is new.
        It is a script (it is not linked into CompCert).
        It translates the symbolic name of a token to an example of this
        token in concrete C syntax.
        It is used by [make -C cparser concrete] to produce the .c files
        in tests/generated/.
      
      cparser/tests/generated/Makefile is new.
        It runs ccomp, clang and gcc on each of the generated C files,
        so as to allow a comparison of the error messages.
      f8be3f5f
    • François Pottier's avatar
  20. 16 Oct, 2015 1 commit
    • François Pottier's avatar
      Added [Makefile.menhir], which gives a choice between Menhir's "code" and... · 153651d6
      François Pottier authored
      Added [Makefile.menhir], which gives a choice between Menhir's "code" and "table" back-ends when compiling CompCert.
      For now, MENHIR_TABLE is set to false, so CompCert is not affected.
      Setting MENHIR_TABLE to true builds CompCert using Menhir's table back-end.
      This causes a small but repeatable slowdown on "make test", about 2% (roughly 1 second out of 40).
      I have tested building ccomp and ccomp.byte.
      I have tested with an ocamlfind-installed menhir and with a manually-installed menhir.
      153651d6
  21. 12 Oct, 2015 1 commit
  22. 07 Oct, 2015 2 commits
  23. 21 Aug, 2015 1 commit
  24. 05 Mar, 2015 1 commit
  25. 28 Feb, 2015 1 commit
  26. 27 Feb, 2015 1 commit
  27. 25 Feb, 2015 1 commit
  28. 24 Feb, 2015 1 commit
  29. 20 Feb, 2015 1 commit
  30. 20 Jan, 2015 1 commit
  31. 16 Jan, 2015 2 commits
  32. 15 Jan, 2015 1 commit
  33. 29 Dec, 2014 1 commit
  34. 17 Dec, 2014 2 commits