... Sys.getcwd as type unit -> string. so it is a function, that take an element of type unit and return a string. So you have to call it with an argument of...
186
Johann Spies
jspies@...
Mar 20, 2002 9:50 am
Thank you everybody who replied. ... I did read quite a lot of documentation and tutorials, but never quite understood this. But I am making progress ... :) ...
187
Warp
ncannasse
Mar 20, 2002 10:00 am
... Yes... just a little tip : unit is REALY a parameter, and not a syntactic shortcut to mean "no-parameter". So writing : print_endline Sys.get_pwd() won't...
188
stalkern2
Mar 20, 2002 3:51 pm
Hello to everybody I'm back to ocaml and following Gerd's suggestion (thanks Gerd) I've used Unix.select to get data so to plot them. As usual, I'll post some...
189
bobbaileyjr
Mar 20, 2002 5:04 pm
I saw on the other newsgroup that this was in progress.. But I haven't heard anything recently... thanx bob...
190
William D. Neumann
wneumann@...
Mar 20, 2002 9:05 pm
I'm having some problems getting camlidl to work for me under windows NT (well, not camlidl, but its output). I created a very simple C routine, bf.c and its...
191
Gerd Stolpmann
info@...
Mar 20, 2002 11:03 pm
... There are two levels of accessing files: channels and descriptors. The latter are unbuffered and correspond exactly to the descriptors of the operating...
192
stalkern2
Mar 21, 2002 9:25 am
... So I should likely use streams, the output of choice for channels... and then I need to build a parser ... So I would throw the -][14... or take a longer...
193
Remi VANICAT
dl_ens
Mar 21, 2002 11:13 am
... Mmmm, yacc is LALR(1) grammars I believe. LL(1) grammar are grammar for camlp4 and ocaml stream parser... -- Rémi Vanicat vanicat@... ...
194
info@...
Mar 21, 2002 12:27 pm
Remi VANICAT <vanicat+egroups@...> schrieb am ... I am always doing this wrong. I like terms like "top-down parser" and "bottom-up parser",...
195
stalkern2
Mar 25, 2002 8:22 pm
Hello to everybody I'm studying the theory and practice of parsing. Since this is a very general issue, I've started before lex and yacc, with a very clear...
196
stalkern2
Mar 26, 2002 10:16 am
... The output given by the command info bison (bison is the heir of yacc) is also ranking as "very clear" documentation. Ernesto...
197
stalkern2
Mar 26, 2002 3:07 pm
... I'm practicing and I wonder whether am I right Given the grammar: S -> Sc | Ba B -> BPa | BPb | P | <empty> P -> dS ... am I right if I say that FIRST (S)...
198
stalkern2
Mar 26, 2002 4:58 pm
... But if I take the algorithm suggested in http://fastnet.univ-brest.fr/~gire/COURS/COMPIL_IUP/node45.html I have: Given the grammar (the very same grammar...
199
Remi VANICAT
dl_ens
Mar 26, 2002 5:36 pm
... well, think that the first assembler had to be written without any previous assembler (nor compiler) And the first compiler had to be written in assembly. ...
200
stalkern2
Mar 27, 2002 12:12 pm
... Yes, but it seems to me that most parsers take a grammar as granted, then take tokens and either say that they are compatible or not, or perform operations...
201
Remi VANICAT
dl_ens
Mar 27, 2002 2:04 pm
... camlp4 grammar are modifiable at run time (you can delete and add rules). ... I've quite understood what you are doing. Grammar are an efficient way of...
202
giangiammy
Mar 27, 2002 2:19 pm
... As a matter of fact I always have seen parser that works this way! ... give me ... Quite an interesting idea: what I can think, but these are consideration...
203
stalkern2
Mar 27, 2002 3:08 pm
News from the seniors' list! Stalkern ... Subject: [Caml-list] New Objective Caml exemples Date: Wed, 27 Mar 2002 10:31:15 +0100 (MET) Dear all, It's my...
204
stalkern2
Mar 27, 2002 7:04 pm
... But I see online many parsers that claim to work also in predictive mode (non-backtracking) LL(1) top-down parsing or in a combined mode, so I wonder ...
205
Laurent Chéno
hippopogazelle
Mar 28, 2002 5:29 am
... Caml (caml-light or OCaml) users on MacOS X feel a little forgotten on the official caml mailing lists. They face many problems in installing compilers,...
206
stalkern2
Mar 28, 2002 9:03 am
... Do you accept advertising for ocaml_beginners? ;-)) (see pattern at caml-list@....) I think that it could be far-sigthed to include all "flavours...
207
giangiammy
Mar 28, 2002 11:16 am
- ... is that Then what you want is something like the following ... This does not recognize anything - just show the derivations +++++++++++++++ (* * This...
208
Remi VANICAT
dl_ens
Mar 28, 2002 11:51 am
... It's not a parser, it's a generator. So it is not LL nor LARL. [....] ... if you use only context free grammar you could used : let prod = [ S, [...
209
giangiammy
Mar 28, 2002 1:40 pm
... good point: I should really study a bit of theory :-( ... don't worry: the mistake is mine. As a matter of fact I wrote a first version with the problem...
210
stalkern2
Mar 28, 2002 1:46 pm
... Yes. It works. But I don't want to skip the parsers' side, for the reasons that I told you. I think that this generator can be used as a benchmark for a ...
211
stalkern2
Mar 28, 2002 5:15 pm
I'm spending some time in studying the behavior of hand-made [< >] parsers. Until now, I've found that parsers can help family relationships :-) ) ... Code ......
212
Laurent Chéno
hippopogazelle
Mar 28, 2002 6:19 pm
J'ai le plaisir de vous annoncer la création de la liste de diffusion caml-macosx@... It's my pleasure to announce the creation of the mailing...
213
Remi VANICAT
dl_ens
Mar 28, 2002 6:59 pm
... not exactly : you seem to have forget the ' before tok2 and reply2 = eval2_word tok2 will call the eval2_word parametrized parser with the tok2 parameter :...
214
bwv211mail
Apr 2, 2002 6:22 am
Is there a way to get module abbreviations in .mli files? In my .ml files, I frequently do something like this: module Foo = Really_long_verbose_module_name ...