CHANGES 6.72 KB
Newer Older
1 2 3 4 5 6 7
0.3.1
- Bug fix release
   * configure must not require pxp
   * improt XML Schema with expat
   * inclusion of external entities with expat
   * META.in, cduce_mktop missing in package

8
0.3.0
9

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
- 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
29 30 31 32 33 34
   * 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)
35
   * Keywords are now allowed as type names
36 37
   * Concatenation @ allowed in types
   * Record concatenation + allowed in types
38 39
   * Changed "string://" URL-pseudo schema to "string:" 
   * Better resolution of external entities for PXP and expat
40 41

- Tools:
42
   * A new tool cduce_mktop produces customized CDuce toplevels with embedded 
43
     OCaml externals.
44
   * Removed the validate tool.
45 46
   * Don't build dtd2cduce by default (it requires PXP). An online
     version is available at http://www.cduce.org/dtd2cduce.html
47 48

- Implementation:
49 50 51
   * Various bug fixes.
   * More efficient hash-consing of types.
   * improved #print_type (does not use the abbreviation for the printed type).
52

53
- Distribution:
54
   * MIT license.
55
   * CDuce can be built without support for PXP.
56

57 58 59 60 61
- 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.
62

63
0.2.2
64

65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
- 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.
109
  * Bug fix in print_xml (do not create a namespace decl for "xml:").
110

111
- Distribution:
112
  * apps-cduce-cvs GODI package is updatable.
113 114
  * The release tarball does not contain the CDuce website, only
    the HTML documentation (memento, tutorial, manual).
115

116
0.2.1
117 118

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

122
0.2.0
123

124 125
- OCaml/CDuce interface.

126
- Language:
127
  * Support for URLs in load_xml, load_html, load_file, and schemas:
128
    e.g. you can write `` load_html "http://www.cduce.org/" ''
129
    (need either the ocurl package or the netclient package).
130
  * More advanced (and documented) support for XML Schemas. 
131
  * Preliminary integration of CQL query language that is:
132 133
    select e from p1 in e1, ... ,pn in en where e'.
  * Allow structured constants in default value patterns (p := c).
134
  * Default value patterns in regexps don't consume an element.
135 136 137
  * Logical operators &&, ||, and not.
  * New syntax for currified functions
    fun (p1 : t1)...(pn : tn) : t = ...
138 139

- Incompatible changes:
140 141
  * argv is now an operator of type [] -> [ String* ].
  * The --dump, --load, --save options are deprecated.
142
  * Changes to the command line. "--pxp" is replaced with "--no expat".
143 144 145 146 147 148 149
 
- 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.
150 151
  * Separate compilation.
  * Lazy implementation of @.
152 153 154

- Other:
  * Added configure script.
155
  * Various Makefile improvements.
156 157 158 159

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

160

161
0.1.1
162
  * Various bug fixes  (expat might now work)
163 164 165 166
  * Sequencing operator   e1;e2  (equivalent to: let [] = e1 in e2)
  * Encoded references
  

167
0.1.0
168
  * Support for XML Namespaces
169
  * Better support for expat; clean Makefile
170
  * Get rid of ;; and let fun in examples
171
  * Optional ; for record in attribute position (values and types/patterns)
172
  * Split --dump into --load and --save
173 174 175 176 177
  * Better handling of strings (specific node in AST)
  * Map, transform: tail-recursive implementation
  * Preliminary support for XML Schema
  * Various bug fixes

178

179 180 181 182 183 184
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)
 

185 186
0.0.9  
  * First public release (alpha release)