CHANGES 8.65 KB
Newer Older
1 2 3
After 0.4.0pl1

- Error message when using --mlstub without the built-in OCaml interface
4
- New Caml_int builtin type
5

6 7 8 9
0.4.0pl1

- Packaging bug

10 11 12 13 14
0.4.0

- Adapted to OCaml 3.09.
- To build the OCaml/CDuce interface, OCaml sources are now needed.

15
0.3.92
16 17 18

- Tools:
   * Build and install dtd2cduce when PXP is available.
19
   * Display of location for errors and warnings compatible with OCaml.
20 21 22 23

- Language:
   * Better error messages for xtransform.

24 25 26
- Bug fix:
   * Forgot PLIST.godi in the package.

27

28 29 30 31 32 33 34 35 36
0.3.91

- Tools:
   * Get rid of cdo2ml and mlcduce_wrapper. Now included in cduce.

- Bug fix:
   * Internal uid collision when using OCaml externals.
   * Makes "String.length" works (String used to resolve to the CDuce type).

37 38 39
0.3.9

- Language:
40
   * Added split_atom, make_atom. Removed atom_of.
41
   * Added char_of_int built_in function.
42 43
   * Now int_of also accepts octal binary and hexadecimals.
   * The field access also works for XML element attributes.
44 45 46 47 48
   * More catchable exceptions (for load_xml, load_file, etc).
   * namespaces, schemas, "using" identifiers are now exported.
   * "open" statement.

- Implementation:
49 50 51 52
   * More efficient implementation of records at runtime.
   * Clean-up of the internal representation.
   * The XML Schemas are now parsed only at compile time.
   * The automata for pattern matching are now produced at compile time.
53 54 55 56

- Tools:
   * The functionality of cdo2ml is now assured by cduce itself, with
     the --mlstub option.
57 58
   * Remove the --dump option (which was deprecated).
   * Remove support for sessions in the web prototype.
59 60

- Bug fixes:
61
   * Correct handling of external references with expat.
62
   * Installation problem under some BSD (using "install -c").
63

64 65 66
0.3.2
   * Bug fix in configure

67
0.3.1
68 69

- Bug fix:
70 71 72
   * configure must not require pxp
   * inclusion of external entities with expat
   * META.in, cduce_mktop missing in package
73 74 75 76 77 78 79
   * several bugfixes for XML Schema
   * Adapt to ocaml-expat 0.9.1
   * don't build cdo2ml, mlcduce_wrapper when ocaml iface not available

- Language:
   * Can now preserve namespaces when parsing XML or when creating XML elements
   * "or" is now equivalent to ||
80

81
0.3.0
82

83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
- Language:
   * Warning for capture variables and projections that always return the empty
     sequence.
   * Major rewrite of the support for XML Schema
     * removed print_schema directive
     * removed the "kind" selector (e.g. S # t as element)
     * include,import implemented
     * support wildcards any,anyAttrivbute
     * support xsi:nil
     * support xsd:decimal,xsd:float
     * many bug fixes
   * Removed the syntax  "external {...}", replaced with
     "unit.val with { ty1 ty2 ... }".
   * Removed the syntax H:val, replaced with H.val.
   * Removed the syntax S#t, replaced with S.t.
   * Overloaded the dot (record field acces, CDuce, OCaml, Schema units).
     A dot in an identifier must now be escaped with a backslash, e.g. x\.y
   * Identifiers (for types, values) are now qualified names.
   * float_of: String -> Float
102 103 104 105 106 107
   * Syntax modifications for records and attributes:
      - ".." to denote open record types/patterns:
          open record:  { l1=t1 l2=t2 .. }
          closed record: { l1=t1 l2=t2 }
      - the ";" between fields is optional even for records 
        (used to be optional only for attributes)
108
   * Keywords are now allowed as type names
109 110
   * Concatenation @ allowed in types
   * Record concatenation + allowed in types
111 112
   * Changed "string://" URL-pseudo schema to "string:" 
   * Better resolution of external entities for PXP and expat
113 114

- Tools:
115
   * A new tool cduce_mktop produces customized CDuce toplevels with embedded 
116
     OCaml externals.
117
   * Removed the validate tool.
118 119
   * Don't build dtd2cduce by default (it requires PXP). An online
     version is available at http://www.cduce.org/dtd2cduce.html
120 121

- Implementation:
122 123 124
   * Various bug fixes.
   * More efficient hash-consing of types.
   * improved #print_type (does not use the abbreviation for the printed type).
125

126
- Distribution:
127
   * MIT license.
128
   * CDuce can be built without support for PXP.
129

130 131 132 133 134
- CQL:
   * Rewrote the optimization (pushing projections).
   * The syntax for "where" clause is now simply an "and"-separated
     list of conditions ("or" is no longer supported).
   * Better types for "min","max","distinct_values" operators.
135

136
0.2.2
137

138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
- Language:
  * Runtime type-check: (e :? t) raises an exception when e doesn't 
    have type t; the exception is an explanation of why this is not the case.
    (The actual message may change in the future.)
  * Better return type for load_xml, defined as:
    AnyXml=<(Atom) (Record)>[ (AnyXml|Char)* ]
  * New style for comments: /* ... */
    Simple and double quotes within these comments are not handled
    specially. Moreover, these comments cannot be nested.
    The new style should be used for textual comments (which can include
    the simple quote); the old style is better for ignoring pieces of code.
  * Pattern guard /p in regexps to match the current tail. This can be used
    for setting "markers" without capturing anything, e.g.:
       [ (/(x:=1) ...) | (/(x:=2) ...) ]
    Back to the old semantics for default value patterns in regexps
    (they do capture an element).
  * New syntax  {...; l = p else p'; ... }. p' is applied
    to the whole matched record when p does not match (or when
    the field is missing). Equivalent to:
    { ...; l = p; ...} | ({...;...} & p')
  * Punning in record/attribute expressions and patterns.
    { x; y } is a shorthand for {x=x;y=y}.
  * New syntax for R**n in regular expressions, equivalent
    to R...R (n times), where n > 0.
  * Interval arithmetic for the * operator.
  * Warning for potential division by 0.
  * New "system", "exit", "getenv" built-in functions.

- Toplevel, interpreter, compiler:
  * New #silent, #verbose directives.
  * New --script option.
  * Removed the warning "no caml interface".

- Compilation:
  * Better compilation of sequence capture variables.
    Now, [ ... x::Any* ] is as efficient as [ ... ; x ]. Can also be written
    [ ... /x _* ]. The [ ... ; ... ] syntax is no longer necessary
    and might be deprecated.
    
- Bug fixes, including:
  * Bug fixes in configure/Makefile for Cygwin.
  * Bug fix for the compilation of complex patterns with records.
  * Fixed a little bit support for XML Schema, but still largely broken.
  * Fix --stdin.
182
  * Bug fix in print_xml (do not create a namespace decl for "xml:").
183

184
- Distribution:
185
  * apps-cduce-cvs GODI package is updatable.
186 187
  * The release tarball does not contain the CDuce website, only
    the HTML documentation (memento, tutorial, manual).
188

189
0.2.1
190 191

- string:// scheme for load_xml and others
192 193
- code updated to OCaml 3.08.1, PXP 1.1.95
- NOTE: support for namespaces in XML Schema may be broken
194

195
0.2.0
196

197 198
- OCaml/CDuce interface.

199
- Language:
200
  * Support for URLs in load_xml, load_html, load_file, and schemas:
201
    e.g. you can write `` load_html "http://www.cduce.org/" ''
202
    (need either the ocurl package or the netclient package).
203
  * More advanced (and documented) support for XML Schemas. 
204
  * Preliminary integration of CQL query language that is:
205 206
    select e from p1 in e1, ... ,pn in en where e'.
  * Allow structured constants in default value patterns (p := c).
207
  * Default value patterns in regexps don't consume an element.
208 209 210
  * Logical operators &&, ||, and not.
  * New syntax for currified functions
    fun (p1 : t1)...(pn : tn) : t = ...
211 212

- Incompatible changes:
213 214
  * argv is now an operator of type [] -> [ String* ].
  * The --dump, --load, --save options are deprecated.
215
  * Changes to the command line. "--pxp" is replaced with "--no expat".
216 217 218 219 220 221 222
 
- Implementation:
  * Code upgraded to Ocaml 3.07.
  * Major cleaning in progress.
  * Added internal support for abstract data types.
  * Using ulex instead of wlex.
  * Sources can now be in utf8.
223 224
  * Separate compilation.
  * Lazy implementation of @.
225 226 227

- Other:
  * Added configure script.
228
  * Various Makefile improvements.
229 230 231 232

- Bug fixes:
  * Bug fixes in the parser. Tuples are now ok in regexps.

233

234
0.1.1
235
  * Various bug fixes  (expat might now work)
236 237 238 239
  * Sequencing operator   e1;e2  (equivalent to: let [] = e1 in e2)
  * Encoded references
  

240
0.1.0
241
  * Support for XML Namespaces
242
  * Better support for expat; clean Makefile
243
  * Get rid of ;; and let fun in examples
244
  * Optional ; for record in attribute position (values and types/patterns)
245
  * Split --dump into --load and --save
246 247 248 249 250
  * Better handling of strings (specific node in AST)
  * Map, transform: tail-recursive implementation
  * Preliminary support for XML Schema
  * Various bug fixes

251

252 253 254 255 256 257
0.0.91
  * Second alpha release
  * Bug fixes and syntax changes (e.g. making "fun" optional in "let fun")
  * Experimenting with expat support (see expat/README)
 

258 259
0.0.9  
  * First public release (alpha release)