./lang/camlp5, Camlp5 is a preprocessor-pretty-printer of ocaml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.14, Package name: camlp5-6.14, Maintainer: tonio

Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also
provides parsing and printing tools.

As a preprocessor, it allows to:
- extend the syntax of OCaml,
- redefine the whole syntax of the language.
As a pretty printer, it allows to:
- display OCaml programs in an elegant way,
- convert from one syntax to another,
- check the results of syntax extensions.
Camlp5 also provides some parsing and pretty printing tools:
- extensible grammars
- extensible printers
- stream parsers and lexers
- pretty print module
It works as a shell command and can also be used in the OCaml toplevel.


Required to run:
[lang/ocaml]

Master sites:

SHA1: 2cde94fc53195f9acb39592a9a74d4f36114df38
RMD160: 0757a5929c64593e9f9f5507ff23a3d54ea359e9
Filesize: 731.127 KB

Version history: (Expand)


CVS history: (Expand)


   2015-08-07 13:19:13 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated package to latest version, 6.14. No changes to this release,
except that camlp5 is now compatible with ocaml 4.02.3.
   2015-06-30 13:10:15 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated lang/camlp5 to newest version 6.13 (to work with ocaml 4.02.2).
There is one other change:
* [20 Apr 15] Accept 'fun/try' case list like the change of 22nd Apr 13
  on 'match' in revised syntax, allowing them to write "|" .. \ 
"end" or
  "[" .. "]", both being accepted.
   2015-01-20 15:24:38 by Jaap Boender | Files touched by this commit (55) | Package updated
Log message:
Revbump associated with update of lang/ocaml.
   2014-10-09 23:42:03 by Jaap Boender | Files touched by this commit (5) | Package updated
Log message:
Updated package to latest version, 6.12. Package uses ocaml.mk.
Minor fixes for compatibility with ocaml 4.02.
   2013-11-01 12:30:24 by Jaap Boender | Files touched by this commit (47) | Package updated
Log message:
Revision bump associated with the update of lang/ocaml to version 4.01.
   2013-08-22 17:25:01 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated lang/camlp5 to latest version, 6.11 (discussed with tonio@).
Changes from 6.07 are:
* Updated for ocaml version 4.01.0
* Added 'MLast.loc_of_with_constr'.
* Fixed bug toplevel with revised syntax; "= 'a" was missing
  in output in that example:
   # module type A = sig module type S = 'a; end;
     module type A = sig module type S; end
* Now accept lowercase ident for module types, like ocaml does.
  Accepted also in revised syntax.
* (experimental) Now, in revised syntax, a "." followed by
  a newline is interpreted as a ";", allowing to end phrases with \ 
".".
  Drawback: will syntax error when writing a record/module access in two
  lines ending the first one with "." like:
    foo.
    bar
* Accept now "match with | | ... end" in revised syntax, with
  a required "|" in the first case, as alternative syntax for match.
* Added function 'Pcaml.value greek_ascii_equiv' giving
  an ascii equivalent to a greek (utf8) letter representing a type
  parameter. E.g. 'a' for 'α', 'b' for 'β', and so on.
* Fixed bug no locations built in some cases of constructors.
* Fixed bug: in toplevel, the highlighting of errors did not work.
* Added option '-dquot' to specify the default quotation name.
  and the ability to use "#option" directive with two parameters. \ 
Therefore,
  we can use either (e.g.):
    -dquot "expr"
  in the command line of camlp5 or
    #option "-dquot" "expr"
  inside a file.
* Now 'make' displays a message how to compile, instead
  of doing 'make out'. Old behaviour of 'make' must be now 'make out'.
* Now accept identifiers starting with a greek letter as variable names.
* Fixed bug: DEFINE FOO=32 while using pa_macro.cmo did not work
  due to a bad order in grammar insertion.
* Fixed bug: parsing greek letters as type variable in
  constructor declaration did not work when building Camlp5.
   2012-10-09 12:24:44 by Jaap Boender | Files touched by this commit (2) | Package updated
Log message:
Updated camlp5 to 6.07, for compatibility with current ocaml version. Changes
include:

* [12 Sep 12] Added compatibility with OCaml 4.00.1.
* [06 Jun 12] Fixed bug: open record patterns {a=b;c=d;_} did not work.
   2012-10-09 03:41:59 by Krister Walfridsson | Files touched by this commit (1)
Log message:
Correct BUILDLINK_ABI_DEPENDS.camlp5 to say 6.06 instead of 6.06nb1.