Re: [Caml-list] Causes for segfaults

2010-11-04 Thread Raphael Proust
Le jeudi 04 novembre 2010 21:19:33, Jamie Brandon a écrit : Is there an authoritative list anywhere of the possible causes for segfaults in ocaml? I'm not using the FFI or -unsafe and I have ruled out overflowing the c stack and allocating large strings/arrays. I'm using ocaml 3.09.3 with

[Caml-list] OASIS installer bug

2010-11-02 Thread Raphael Proust
Hi, Needing oasis to compile Lwt's latest version, I tried using OASIS. The installer worked but produced an unusable executable. Each run gives the following error: oasis: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory I don't

[Caml-list] [Camlp4] questions

2010-08-06 Thread Raphael Proust
Hi all, I've completed the syntax extension I asked the list about a few days ago. It probably still needs a few tweaks, but it works. While coding, a few questions/remarks came to mind: Is it possible to only load the filters from Camlp4? Using such a feature one could load dumped AST (just

Re: [Caml-list] [Camlp4] Quotation expander with OCaml syntax

2010-07-27 Thread Raphael Proust
On Mon, Jul 26, 2010 at 6:30 PM, Jake Donham j...@donham.org wrote: On Mon, Jul 26, 2010 at 8:41 AM, Raphael Proust raphla...@gmail.com wrote: What I basically need is to get an AST with antiquotations and quotations being special nodes. How is this achievable w/o reimplementing a whole

Re: [Caml-list] [Camlp4] Quotation expander with OCaml syntax

2010-07-27 Thread Raphael Proust
On Tue, Jul 27, 2010 at 3:22 PM, thomas.gazagna...@sophia.inria.fr wrote: Are you trying to the same thing as HOP [1] ? I haven't looked at HOP yet, but I heard a lot and will probably try to read about it in the future. What kind of restrictions do you impose on the expressions you can

[Caml-list] [Camlp4] Quotation expander with OCaml syntax

2010-07-26 Thread Raphael Proust
Hi all, I'm working on a syntax extension as part of an internship in the Ocsigen team. The aim of the syntax extension is to split the code of a web application in two separate files: one for the client and one for the server. A few transformations are to take place in the process. Quotations

Re: [Caml-list] [Camlp4] Quotation expander with OCaml syntax

2010-07-26 Thread Raphael Proust
On Mon, Jul 26, 2010 at 5:13 PM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Mon, 26 Jul 2010 16:41:46 +0200, Raphael Proust raphla...@gmail.com wrote: Hi all, Hi, [...] (* Pre-parsed code: *) let start = :on f $y$ in let html_node =  span ~a:[onclick start] some

Re: [Caml-list] [Camlp4] Quotation expander with OCaml syntax

2010-07-26 Thread Raphael Proust
On Mon, Jul 26, 2010 at 10:08 PM, bluestorm bluestorm.d...@gmail.com wrote: On Mon, Jul 26, 2010 at 4:41 PM, Raphael Proust raphla...@gmail.com wrote: I'm working on a syntax extension as part of an internship in the Ocsigen team. The aim of the syntax extension is to split the code of a web