/[svn]/web/index.xml
ViewVC logotype

Contents of /web/index.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 591 - (hide annotations)
Tue Jul 10 17:46:44 2007 UTC (5 years, 10 months ago) by abate
File MIME type: text/xml
File size: 8587 byte(s)
[r2003-07-06 18:14:19 by cvscast] Empty log message

Original author: cvscast
Date: 2003-07-06 18:14:19+00:00
1 abate 253 <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
2 abate 341 <page name="index">
3 abate 253
4 abate 350 <title>Home page</title>
5 abate 253 <banner>
6     <img title="CDuce" src="img/cduce_logo.jpg" width="400" height="206"
7     alt="CDuce"/>
8     </banner>
9    
10 abate 341 <left>
11     <p>On this page:</p>
12     <boxes-toc/>
13     <p>Under this page:</p>
14     <pages-toc/>
15     </left>
16 abate 253
17 abate 341 <external href="/cgi-bin/cduce" title="Online demo" name="proto"/>
18 abate 437 <include file="download.xml"/>
19 abate 341 <include file="bench.xml"/>
20     <include file="papers.xml"/>
21     <include file="examples.xml"/>
22     <include file="team.xml"/>
23 abate 381 <include file="manual.xml"/>
24 abate 341 <include file="sitemap.xml"/>
25 abate 253
26 abate 576
27 abate 341 <left>
28 abate 255
29 abate 253 <p> CDuce ("seduce") is a new typed functional language with
30 abate 258 innovative features.</p>
31 abate 253
32     <p> Although CDuce is a general programming language, it features
33     several characteristics that make it adapted to XML documents
34     manipulation (transformation, extraction of information, creation of
35     documents).
36     <a href="http://www.w3.org/XML/">XML</a> is a syntax to
37     describe tree-like documents (aka semi-structured data), and XML
38     documents often come with a description of their type. The type is
39     expressed in a system like DTD, or
40 abate 258 <a href="http://www.w3.org/XML/Schema">XML Schema</a>.
41     XML types play a central role in CDuce.
42     </p>
43 abate 253
44 abate 341 </left>
45 abate 253
46 abate 341 <left>
47 abate 305 <p> All pages of this site were automatically generated from an XML description of
48 abate 347 the content by <a href="examples.html#site">the following CDuce program</a>.
49 abate 267 </p><p>
50 abate 253 <img src="img/cducepower2.jpg" alt="Powered by CDuce"/></p>
51 abate 341 </left>
52 abate 253
53    
54 abate 258 <box title="What is CDuce ?" link="whatis">
55 abate 253
56 abate 258 <p> <b>CDuce</b> is modern programming language, adapted to the
57     manipulation of XML documents. It is developped by the <a
58     href="http://www.di.ens.fr/~castagna/EQUIPE"><b>Languages</b></a>
59     group of ENS in Paris and the <a
60     href="http://www.lri.fr/bd"><b>Databases</b></a> group of LRI in
61     Orsay, two <a href="http://www.cnrs.fr">CNRS</a> labs.
62 abate 347 See also the <local href="team">CDuce team</local> page,
63     our <local href="papers">technical papers</local>.
64 abate 258 </p>
65    
66 abate 591 <section title="Getting more information">
67    
68     <p>
69     If you want more information about CDuce, or if you want to join the
70     CDuce users mailing list, you can send a mail to
71     <tt>info_at_cduce.org</tt> (replace <tt>_at_</tt> with <tt>@</tt>).
72     </p>
73    
74     </section>
75    
76 abate 253 <section title="Online running prototype">
77 abate 437 <p> To get a feeling of CDuce,
78     you can play with the <local href="proto">online prototype</local>,
79     try the examples and modify them. We also have some
80     <local href="examples">larger examples</local>. </p>
81 abate 253
82 abate 562 <p>We are planning to distribute a stable release in the next
83     few weeks. To help us prepare this release, you can download a
84     <local href="download">beta version</local>, and send your comments.
85 abate 437 </p>
86    
87 abate 258 </section>
88 abate 253 </box>
89    
90 abate 341 <box title="Design and features" link="design">
91 abate 258 <p> Our point of view and our guideline for the design of CDuce is
92     that a programming language for XML should take XML types (
93 abate 545 DTD, XML Schema, Relax-NG, ...) seriously. The benefit are the following:</p>
94 abate 253
95 abate 258 <ul>
96     <li> <b>static verifications</b>
97     (e.g.: ensure that a transformation produces a valid document);</li>
98     <li> in particular, we aim at <b>smooth and safe</b> compositions
99     of XML transformations, and incremental programming;</li>
100     <li> static <b>optimizations</b> and <b>efficient execution model</b>
101     (knowing the type of a document is crucial to extract information
102     efficiently).</li>
103 abate 253 </ul>
104    
105 abate 258 <p>
106     Some of CDuce peculiar features:
107     </p>
108 abate 253 <ul>
109 abate 258 <li> XML objects can be manipulated as first-class citizen values:
110     elements, sequences, tags, characters and strings, attribute
111     sets; sequences of XML elements can be specified by
112     <b>regular expressions</b>, which also apply to
113     characters strings; </li>
114     <li> functions themselves are <b>first-class</b> values, they
115     can be manipulated, stored in data structure, returned by
116     a function,...</li>
117     <li> a powerful <b>pattern matching</b> operation can perform
118     complex extractions from sequences of XML elements; </li>
119     <li> a rich <b>type algebra</b>, with recursive types and arbitrary
120     boolean combinations (union, intersection, complement) allows
121     precise definitions of data structures and XML types;
122     <b>general purpose types</b> and types constructors are taken seriously
123     (products, extensible records, arbitrary precision integers with interval
124     constraints, Unicode characters);</li>
125     <li> <b>polymorphism</b> through a natural notion of <b>subtyping</b>,
126     and <b>overloaded functions</b> with dynamic dispatch; </li>
127     <li> an highly-effective <b>type-driven compilation schema</b>. </li>
128     </ul>
129 abate 253
130 abate 565 <p>CDuce is fast, functional,
131     type-safe, and <b>conforms to basic standards</b>: <a href="http://www.unicode.org">Unicode</a>, <a href="http://www.w3.org/XML/">XML</a>, <a href="http://www.w3.org/TR/REC-xml#dt-doctype">DTD</a>,
132     <a href="http://www.w3.org/TR/REC-xml-names/">Namespaces</a> are fully supported, partial support of <a href="http://www.w3.org/TR/xmlschema-1/">XML Schema</a> validation is
133     in alpha testing (and undocumented) while queries are being
134     implemented.
135     </p>
136    
137 abate 258 <p>
138 abate 347 <local href="bench">Preliminary benchmarks</local> suggest that despite the
139 abate 300 overhead for static type verification, a CDuce
140 abate 258 program can run faster (30% to 60%) than an equivalent XSLT
141     style-sheet (we performed benchmarks with
142     the xsltproc tools from the Gnome libxslt library).
143     </p>
144     </box>
145 abate 253
146 abate 258 <box title="Research directions" link="research">
147 abate 253
148 abate 258 <p>Our plans concerning the design of the core language
149     include:</p>
150     <ul>
151     <li>a module system to support incremental programming;</li>
152     <li>parametric polymorphism;</li>
153     <li>XML-friendly primitives, to mimic XSLT transformations.</li>
154 abate 253 </ul>
155    
156 abate 258 <p>
157     Apart from the core language design and implementation,
158     our research projects include:
159     </p>
160 abate 253 <ul>
161 abate 258 <li> integration of a <b>query sub-language</b> into CDuce, using
162     types as a primary optimization strategy for request evaluation;</li>
163     <li> study of <b>security</b> (confidentiality, ...) properties in the
164     setting of XML transformations.</li>
165 abate 253 </ul>
166    
167 abate 258 <p>
168 abate 347 We wrote several <local href="papers">technical papers</local> about
169 abate 258 the language design and its theoretical foundations.
170     </p>
171 abate 253 </box>
172    
173 abate 258 <box title="XDuce and CDuce" link="xduce">
174     <p>
175 abate 253
176 abate 258 The starting point of our work on CDuce was the
177     <a href="http://xduce.sourceforge.net/">XDuce</a> language developped
178     at the UPenn DB group. Many of CDuce features originate from XDuce.
179     Some of our achievements:
180 abate 253
181 abate 258 </p>
182     <ul>
183     <li>integration of first-class and overloaded functions, arbitrary boolean
184     connectives, and extensible (or not) records, to the semantic
185     definition of subtyping;</li>
186     <li>a subtyping algorithm without backtracking;</li>
187     <li>extending pattern matching to capture non consecutive
188     subsequences; removing tail condition for exact matching
189     (they arrived independently to another solution);</li>
190     <li>efficient evaluation model that takes profit of static type information;</li>
191 abate 253 </ul>
192 abate 258 <p>
193     Of course, the work on XDuce continued during our, and they
194     developped nice ideas: mixed attribute-element types (same
195     expressive power as our records, but they can sometimes avoid exponential
196     explosion where we cannot); powerful filter operation.
197     </p>
198 abate 253 </box>
199    
200     <box title="Related links" link="links">
201     <ul>
202 abate 352 <li> <link url="http://www.w3.org/XML/"
203     title="Extensible Markup Language (XML)"> The W3C page on XML. </link>
204     </li>
205 abate 253 <li> <link url="http://www.research.avayalabs.com/user/wadler/xml/"
206     title="XML: Some hyperlinks minus the hype"> By Philip Wadler. </link>
207 abate 352 </li>
208     <li> <link url="http://xduce.sourceforge.net/"
209     title="XDuce"> XDuce home page. </link> </li>
210     </ul> </box>
211 abate 253
212    
213     <meta>
214     <p>
215     <a href="comeon.htm">
216     <img style="border:0;width:88px;height:31px"
217     src="img/cducepower3.png"
218     alt="Powered by CDuce"/>
219     </a>
220    
221 abate 257 <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cduce.org">
222 abate 253 <img style="border:0;width:88px;height:31px"
223     src="http://www.w3.org/Icons/valid-xhtml10"
224     alt="Valid XHTML 1.0!"/>
225     </a>
226    
227 abate 401 <a href="http://jigsaw.w3.org/css-validator/">
228 abate 253 <img style="border:0;width:88px;height:31px"
229     src="http://jigsaw.w3.org/css-validator/images/vcss"
230     alt="Valid CSS!"/>
231     </a>
232    
233     <a href="http://www.ens.fr">
234     <img style="border:0"
235     src="img//symbENSmio.gif"
236     alt="ENS" title="ENS"/>
237     </a>
238    
239     <a href="http://www.u-psud.fr">
240     <img style="border:0"
241     src="img//symbP11mio.gif"
242     alt="Paris 11" title="Paris 11"/>
243     </a>
244    
245     <a href="http://www.cnrs.fr">
246     <img style="border:0"
247     src="img//symbCNRSmio.gif"
248     alt="CNRS" title="CNRS"/>
249     </a>
250     </p>
251     <p>
252 abate 255 <a href="mailto:Alain.Frisch@ens.fr">Webmaster</a> -
253 abate 347 <local href="sitemap">Site map</local>
254 abate 253 </p>
255     </meta>
256    
257     </page>

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5