-
Notifications
You must be signed in to change notification settings - Fork 0
/
2002.01.15.html
243 lines (200 loc) · 10.1 KB
/
2002.01.15.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<html><body>
<a href="2002.01.08.html">Previous week</a> <a href="index.html">Up</a> <a href="2002.01.22.html">Next week</a>
<pre>
Hello,
Here is the latest Caml Weekly News, week 09 to 15 january, 2002.
Summary:
1) <a href="#1">English translation of Développement d'applications avec Objective</a>
Caml ?
2) <a href="#2">Packaging tool</a>
3) <a href="#3">mlgmp, bugfix release</a>
4) <a href="#4">pa_ocaml</a>
5) <a href="#5">Win32 API</a>
6) <a href="#6">More OCaml+windowing system questions</a>
7) <a href="#7">Mp3tag : edit mp3 tags from OCaml programs</a>
8) <a href="#8">Compiling lablttk and lablgtk on windows</a>
<a name="1"/>======================================================================
1) English translation of Développement d'applications avec Objective
Caml ?
----------------------------------------------------------------------
Walter B. Rader asked and Ruchira Datta answered:
> Several months ago I wrote to O'Reilly books and asked about a rumour
> that they were making an English translation of the aforementioned
> book. They responded that yes, a group of volunteers was working on
> the project, and as progress was made, it would be posted to the
> book's website:
>
> <a href="http://www.pps.jussieu.fr/Livres/ora/DA-OCAML/index.html">http://www.pps.jussieu.fr/Livres/ora/DA-OCAML/index.html</a>
>
> Does anyone know if the translation is indeed being performed? I
> don't find any information at the above website...
Yes, it is. Most of the book has been translated and is in the process
of being proofread. As soon as an initial segment of the book has been
proofread the translation project will release it to the website. (At
least, that's my understanding with O'Reilly so far.)
> Walter Rader
>
>
> P.S. I've spent hours making a Babelfish (babelfish.altavista.com)
> translation of the book. Babelfish only translates web pages up to a
> specific length, and then stops, so I had to split many of the book's
> pages into multiple HTML files, translate each of them, and then
> recombine them. Babelfish also messes up the appearance of the code
> samples. I have corrected all of these problems, as well as fixed
> many of the imprecise translations. If anyone wants some
> "suggestions" about how they can do this process "themselves," feel
> free to e-mail me directly at [email protected].
Egad! Well, we had been aiming for web release in February and it still
seems that is doable. Sorry you had to go through all this work,
hopefully it will be useful in other projects.
<a name="2"/>======================================================================
2) Packaging tool
----------------------------------------------------------------------
Ohad Rodeh announced:
Following the short discussion on packing, I've found the time to hack on
it a little bit, the results can be found at:
<a href="http://www.cs.cornell.edu/Info/Projects/Ensemble/mrg/doc.html">http://www.cs.cornell.edu/Info/Projects/Ensemble/mrg/doc.html</a>
In brief, this a Caml packaging tool that works!
Comments are welcome,
Ohad.
<a name="3"/>======================================================================
3) mlgmp, bugfix release
----------------------------------------------------------------------
David Monniaux announced:
mlgmp is an interface between GNU MP (multiprecision computations on
integers, rationals and floating-point numbers) and O'Caml.
<a href="http://www.di.ens.fr/~monniaux/download/mlgmp-20020110.tar.gz">http://www.di.ens.fr/~monniaux/download/mlgmp-20020110.tar.gz</a>
- lots of bugfixes
- support for MPFR 2001-10-26 (not the new functions)
- hash function on Z and Q
<a name="4"/>======================================================================
4) pa_ocaml
----------------------------------------------------------------------
Alain Frisch announced:
Hello,
I'd like to announce the release of pa_ocaml, a modified version of the
ocamllex lexer generator. Its implements a Camlp4-syntax extension, and
makes it possible to define lexers inside Caml programs.
* Simplifies Makefile and dependencies generation with ocamldep (no
intermediate file).
* Lexers may have extra arguments.
* Works even with Revised Syntax.
pa_ocamllex is in the OCaml CVS; it can be downloaded as a standalone
package there:
<a href="http://www.eleves.ens.fr:8080/home/frisch/soft#pa_ocamllex">http://www.eleves.ens.fr:8080/home/frisch/soft#pa_ocamllex</a>
(works with OCaml 3.04)
<a name="5"/>======================================================================
5) Win32 API
----------------------------------------------------------------------
Harry Chomsky announced:
I've now put together a more proper release of this library, including an
LGPL license. The new URL is:
<a href="http://www.speakeasy.org/~hchomsky/ocaml-win32.html">http://www.speakeasy.org/~hchomsky/ocaml-win32.html</a>
<a name="6"/>======================================================================
6) More OCaml+windowing system questions
----------------------------------------------------------------------
Walter B. Rader asked and Xavier Leroy answered:
> I am using OCaml and SDL (Software DirectMedia Layer, a
> cross-platform graphics library) to create a windowing
> system that runs on top of the user's existing OS+GUI (e.g.
> Windows, MacOS, etc.) and provides similar services. I
> figure that writing it this way allows me to take advantage
> of the services that the GUI and OS already offer, while at
> the same time extending its capabilities.
>
> The windowing system's capabilities (will) include
> portability (offered to some degree by OCaml and to a larger
> degree by SDL,) execution of byte-code compiled applications
> that use the windowing system, network transparency, the
> option to reconfigure at run-time UI behavior (e.g. for
> "skins," users with assistive hardware such as screen-
> readers, etc.) and so forth.
>
> The project is still in its early stages and as such I don't
> have a lot of technical details to add before launching into
> my questions. =)
>
> I apologize if these are RT*M type questions - I am a bit
> overwhelmed trying to learn OCaml and choosing THIS as my
> first project =). Feel free just to give me pointers to
> information elsewhere on the web.
>
>
> Question #1: Is OCaml a suitable language for this project?
> Based on what others have done, it seems that I "should"
> use a language like C or C++. When enumerating the
> advantages OCaml offers, I came up with the following:
>
> o first-class functions (very handy)
> o type safety
> o automatic garbage collection
> o terse source code
> o programs that use the windowing system can be distributed
> in byte-code for enhanced portability
>
> However, C and C++ are extremely portable, which is very
> appealing to me. Why would OCaml be more suited for this
> project?
>
>
> Question #2: How portable *is* OCaml? I see that binaries
> are available for Linux, MS Windows, and Macintosh. Has
> there been success in porting OCaml to other platforms? If
> not the native-code compiler, at least the byte-code compiler
> and interpreter?
>
The byte-code system works on essentially every Unix variant out there,
and the native-code compiler is supported for a dozen processor / Unix
variant combinations. For a detailed list, see
<a href="http://caml.inria.fr/ocaml/portability.html">http://caml.inria.fr/ocaml/portability.html</a>
So, OCaml is supported under Unix (including but not limited to
Linux), Windows, MacOS, and BeOS to some extent. Other operating
systems (VMS, IBM's mainframe OSes, etc) haven't been tried, but they
are getting extinct :-)
>
> Question #3: As mentioned previously, I will support running
> byte-code applications that use the windowing system. I
> would like to be able to load each in its own process space,
> so that the OS scheduler can handle scheduling.
>
> (The benefit being that I don't have to employ some kind of
> cooperative multi-tasking system, which I would have to do
> if the windowing system and all applications executed in it
> ran in the same process.)
>
> Is there a "good" (efficient, elegant, etc.) portable way to
> handle communication between the windowing system process and
> the application process(es)?
There's a built-in marshaler that lets you exchange complex data
structures over pipes or sockets. There is no standard remote
function call infrastructure yet, but it's not hard to build one on
top of the marshaler; see for instance what the Unison team did.
<a name="7"/>======================================================================
7) Mp3tag : edit mp3 tags from OCaml programs
----------------------------------------------------------------------
Maxence Guesdon announced:
Hi,
I'm pleased to announce mp3tag, a (very small) library to edit mp3tags
in mp3 files. Find it at
<a href="http://www.maxence-g.net/Tools/mp3tag/mp3tag.html">http://www.maxence-g.net/Tools/mp3tag/mp3tag.html</a>
<a name="8"/>======================================================================
8) Compiling lablttk and lablgtk on windows
----------------------------------------------------------------------
Andrew Lawson asked and Alan Schmitt answered:
> Hello
...
> Secondly, I want to start using lablgtk on windows
> with the cygwin ocaml distribution. Can anyone give me
> a step by step guide to getting, installing and
> compiling lablgtk on this platform.
>
1) compile and install ocaml-3.04
2) fetch this tarball:
<a href="http://www.cis.upenn.edu/~bcpierce/unison/download/resources/lablgtk-1.2.3-cygwin.tar.gz">http://www.cis.upenn.edu/~bcpierce/unison/download/resources/lablgtk-1.2.3-cygwin.tar.gz</a>
(This include gtk for cygwin and lablgtk for cygwin, kudos to he
Yang for this port)
3) untar, and follow the readme instructions. It worked like a charm for
me.
======================================================================
Alan Schmitt
</pre></body></html>