Updated with the parallel camlp4/CHANGES file.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5744 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Michel Mauny 2003-07-26 05:42:11 +00:00
parent c5e5e7f0f2
commit df75a34d1d
1 changed files with 90 additions and 0 deletions

View File

@ -1,3 +1,93 @@
Camlp4 Version 3.07 beta
________________________
- [July 03] Updated the ocaml/camlp4 CVS tree with the camlp4
"parallel" CVS tree, which becomes obsolete from now on.
Added support for recursive modules, private data constructors, and
new syntaxes for integers (int32, nativeint, ...).
Camlp4 Version 3.06++
-----------------------
- [02 Dec 02] In AST predefined quotation, changed antiquotations for
"rec", "mutable": now all are with coercion "opt": $opt:...$ (instead
of "rec" and "mut"). Added antiquotation for "private". Cleaned up
the entries for "methods" and for labelled and optional parameters.
- [29 Nov 02] Removed all "extract_crc" stuff no more necessary with
the new interface of Dynlink.
- [26 Nov 02] Added ability to use "#use" directives in compiled files.
- [21 Nov 02] Changed Scheme syntax for directives: now, e.g. #load "file"
is written: # (load "file"). Added directives in "implem", "interf" and
"use" directive.
- [20 Nov 02] Added Grammar.glexer returning the lexer used by a
grammar. Also added a field in Token.glexer type to ask lexers to
record the locations of the comments.
- [04 Nov 02] Added option -no_quot with normal syntax (pa_o.cmo):
don't parse quotations (it allows to use e.g. <:> as a valid token).
- [31 Oct 02] Added pa_macro.cmo (to replace pa_ifdef.cmo which is
kept for compatibility, but deprecated). The extended statements
allow de definitions of macros and conditional compilation like
in C.
- [29 Oct 02] Changed pretty printers of the three main syntaxes: if
the locations of input are not correct, do no more raise End_of_file
when displaying the inter-phrases (return: the input found up to eof
if not empty, otherwise the value of the -sep parameter if not empty,
otherwise the string "\n").
- [25 Oct 02] Added option -records in pa_sml.cmo: generates normal
OCaml records instead of objects (the user must be sure that there
are no names conflicts).
- [22 Oct 02] Added Plexer.specific_space_dot: when set to "true", the
next call to Plexer.gmake returns a lexer where the dot preceded by
spaces (space, tab, newline, etc.) return a different token than when
not preceded by spaces.
- [19 Oct 02] Added printer in Scheme syntax: pr_scheme.cmo and the
extension pr_schemep.cmo which rebuilts parsers.
- [15 Oct 02] Now, in case of syntax error, the real input file name is
displayed (can be different from the input file, because of the possibility
of line directives, typically generated by /lib/cpp).
Changed interface of Stdpp.line_of_loc: now return also a string: the name
of the real input file name.
- [14 Oct 02] Fixed bug in normal syntax (pa_o.cmo): the constructors
with currification of parameters (C x y) were accepted.
- [14 Oct 02] Fixed many problems of make under Windows (in particular if
installations directories contain spaces).
- [11 Oct 02] In ocaml syntax (pa_o.cmo), fixed 3 bugs (or incompatibilities
with the ocaml yacc version of the compiler): 1/ "ref new foo" was
interpreted as "ref;; new foo" instead of "ref (new foo)" 2/ unary
minuses did not work correctly (nor in quotation of syntax trees), in
particular "-0.0" 3/ "begin end" was a syntax error, instead of being "()".
- [Sep-Oct 02] Many changes and improvements in Scheme syntax.
- [07 Oct 02] Added definition of Pcaml.type_declaration which is
now visible in the interface, allowing to change the type declarations.
- [07 Oct 02] Added Pcaml.syntax_name to allow syntax extensions to test
it and take different decision. In revised syntax, its value is "Revised",
in normal syntax "OCaml" and in Scheme syntax "Scheme".
- [03 Oct 02] Added lexing of '\xHH' where HH is hexadecimal number.
- [01 Oct 02] In normal syntax (camlp4o), fixed problem of lexing
comment: (* bleble'''*)
- [23 Sep 02] Fixed bug: input "0x" raised Failure "int_of_string"
without location (syntaxes pa_o and pa_r).
- [14 Sep 02] Added functions Grammar.iter_entry and Grammar.fold_entry
to iterate a grammar entry and transitively all the entries it calls.
- [12 Sep 02] Added "Pcaml.rename_id", a hook to allow parsers to give
ability to rename their identifiers. Called in Scheme syntax (pa_scheme.ml)
when generating its identifiers.
- [09 Sep 02] Fixed bug under toplevel, the command:
!Toploop.parse_toplevel_phrase (Lexing.from_buff "1;;");;
failed "End_of_file".
- [06 Sep 02] Added "Pcaml.string_of". Combined with Pcaml.pr_expr,
Pcaml.pr_patt, and so on, allow to pretty print syntax trees in string.
E.g. in the toplevel:
# #load "pr_o.cmo";
# Pcaml.string_of Pcaml.pr_expr <:expr< let x = 3 in x + 2 >>;;
- : string = "let x = 3 in x + 2"
Camlp4 Version 3.06
--------------------
- [24 Jul 02] Added Scheme syntax: pa_scheme.ml, camlp4sch.cma (toplevel),
camlp4sch (command).
Camlp4 Version 3.05
-----------------------