caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eray Ozkural <examachine@gmail.com>
To: Andre Nathan <andre@digirati.com.br>
Cc: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] AGI research using ocaml
Date: Sat, 13 Mar 2010 17:39:11 +0200	[thread overview]
Message-ID: <320e992a1003130739x15a49d57q1adda556a2237df6@mail.gmail.com> (raw)
In-Reply-To: <1268492557.1962.5.camel@homesick>

Hello Andre,

Thanks for the suggestion. Perhaps it is possible to use the toplevel
on a string based file? Then, there wouldn't be the I/O overhead at
least, just buffering overhead. For some reason I can't find the
documentation for this. It's weird. :/ I used to write ocaml libraries
back in 2002 and still not an ocaml hacker! Heh :)

On Sat, Mar 13, 2010 at 5:02 PM, Andre Nathan <andre@digirati.com.br> wrote:
> Eray,
>
> You could consider using the Toploop module to interpret an ocaml
> program; for example,
>
>  Toploop.use_silently Format.std_formatter "foo.ml".
>
> This is what I do in OSpec to run the specification files. I haven't
> measured the overhead of using this module but at least you don't need
> to fork a process to run each of your programs.
>
> HTH,
> Andre


-- 
Eray Ozkural, PhD candidate.  Comp. Sci. Dept., Bilkent University, Ankara
http://groups.yahoo.com/group/ai-philosophy
http://myspace.com/arizanesil http://myspace.com/malfunct


  reply	other threads:[~2010-03-13 15:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-13 10:29 Eray Ozkural
2010-03-13 13:21 ` [Caml-list] " blue storm
2010-03-13 13:38   ` pierre.chambart
2010-03-13 14:01     ` Eray Ozkural
2010-07-29 22:44       ` Eray Ozkural
2010-03-13 15:48     ` Eray Ozkural
2010-03-13 16:00       ` blue storm
2010-03-13 16:57         ` Eray Ozkural
2010-03-13 14:00   ` Eray Ozkural
2010-03-13 14:06     ` Basile Starynkevitch
2010-03-13 14:58       ` Eray Ozkural
2010-03-13 15:36         ` Basile Starynkevitch
2010-03-14 19:38     ` Stefan Monnier
2010-03-13 15:38   ` [Caml-list] " Eliot Handelman
2010-03-13 15:41     ` Eray Ozkural
2010-03-13 15:02 ` Andre Nathan
2010-03-13 15:39   ` Eray Ozkural [this message]
2010-03-13 15:56     ` Andre Nathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=320e992a1003130739x15a49d57q1adda556a2237df6@mail.gmail.com \
    --to=examachine@gmail.com \
    --cc=andre@digirati.com.br \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).