Le mardi 21 décembre 2010 04:02:13, Michael Ekstrand a écrit :
> So, the real solution is to use a shell script which wraps 'camlp4o' and
> looks up the appropriate package lines with ocamlfind. It will do
> something like
>
> camlp4 $(ocamlfind -predicates preprocesor,syntax -syntax camlp4o
> -p
On Mon, 20 Dec 2010 22:16:44 +
Joel Reymont wrote:
> Are there any recipes for wrapping a large C++ class that uses callbacks?
All the same as C bindings. But using C++ features one can reduce the
amount of boilerplate needed. E.g. see
http://ygrek.org.ua/p/code/cxx_wrapped/cxx_wrapped.h
fo
On Tue, Dec 21, 2010 at 01:54:32PM -0500, orb...@ezabel.com wrote:
> Are there any modified versions of Tuareg mode to work with Lwt
> syntax extensions? I looked around but didn't see anything. I
> don't know Emacs lisp particularly well but will try to hack
> something out of nothing exists.
T
What would really be interesting is an emacs mode that use camlp4 for
parsing and indentation of OCaml code, instead of hand-written regexes. It
is much more complicated, but would scale to arbitrary camlp4 extensions.
___
Caml-list mailing list. Subscrip
Are there any modified versions of Tuareg mode to work with Lwt syntax
extensions? I looked around but didn't see anything. I don't know
Emacs lisp particularly well but will try to hack something out of
nothing exists.
Thanks
___
Caml-list mai
Great, that looks like it's working. Many thanks.
On Dec 20, 2010, at 10:02 PM, Michael Ekstrand wrote:
On 12/20/2010 08:36 PM, orb...@ezabel.com wrote:
Thanks, I forgot to mention that I am setting that:
(*pp camlp4o pa_lwt.cmo *)
(that is where it is coming from in my paste)
But it is s
On 12/21/2010 05:16 AM, Gregory Bellier wrote:
> 2010/12/21 Sylvain Le Gall :
>> There is also Lwt_log.
>> http://ocsigen.org/lwt/doc/api/Lwt_log.html
> To be more verbose, I have two processes with two different effective
> uid and I would like them to be able to log in the very same file and
> no
On 21/12/2010, Sylvain Le Gall wrote:
> On 21-12-2010, Jérémie Dimino wrote:
>> On Mon, Dec 20, 2010 at 09:36:39PM -0500, orb...@ezabel.com wrote:
>>> Thanks, I forgot to mention that I am setting that:
>>>
>>> (*pp camlp4o pa_lwt.cmo *)
>>
>> This one should work:
>>
>> (*pp camlp4o `ocamlfind
On Tue, Dec 21, 2010 at 01:21:44PM +0200, Török Edwin wrote:
> On 2010-12-21 13:16, Gregory Bellier wrote:
> > 2010/12/21 Sylvain Le Gall :
> >>
> >> There is also Lwt_log.
> >> http://ocsigen.org/lwt/doc/api/Lwt_log.html
> >
> > To be more verbose, I have two processes with two different effectiv
On 2010-12-21 13:16, Gregory Bellier wrote:
> 2010/12/21 Sylvain Le Gall :
>>
>> There is also Lwt_log.
>> http://ocsigen.org/lwt/doc/api/Lwt_log.html
>
> To be more verbose, I have two processes with two different effective
> uid
If both processes start out as root then you can open the logfile
2010/12/21 Sylvain Le Gall :
>
> There is also Lwt_log.
> http://ocsigen.org/lwt/doc/api/Lwt_log.html
To be more verbose, I have two processes with two different effective
uid and I would like them to be able to log in the very same file and
not in /var/log/user.log but /var/log/my_project.log. Th
On 21-12-2010, Gregory Bellier wrote:
> Hello.
>
> Until now, whenever I needed to log something, I used my own function
> to log. From now on, I face new problems and I would like to use
> syslog to get rid of my logging functions and use the proper unix
> ones. However, from what I've seen, sysl
On 21-12-2010, Jérémie Dimino wrote:
> On Mon, Dec 20, 2010 at 09:36:39PM -0500, orb...@ezabel.com wrote:
>> Thanks, I forgot to mention that I am setting that:
>>
>> (*pp camlp4o pa_lwt.cmo *)
>
> This one should work:
>
> (*pp camlp4o `ocamlfind query -i-format lwt` `ocamlfind query -predicat
Hello.
Until now, whenever I needed to log something, I used my own function
to log. From now on, I face new problems and I would like to use
syslog to get rid of my logging functions and use the proper unix
ones. However, from what I've seen, syslog logs in messages, user,...
but I can't log in a
On Mon, Dec 20, 2010 at 09:36:39PM -0500, orb...@ezabel.com wrote:
> Thanks, I forgot to mention that I am setting that:
>
> (*pp camlp4o pa_lwt.cmo *)
This one should work:
(*pp camlp4o `ocamlfind query -i-format lwt` `ocamlfind query -predicates
syntax,preprocessor -a-format -r lwt.syntax`
15 matches
Mail list logo