caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: bob zhang <bobzhang1988@gmail.com>
To: Jacques Carette <carette@mcmaster.ca>
Cc: oleg@okmij.org, caml-list@inria.fr
Subject: Re: [Caml-list] ANN: Brand-new BER MetaOCaml for OCaml 4.00.1
Date: Wed, 20 Feb 2013 09:03:08 -0500	[thread overview]
Message-ID: <CANcqPu72VBcfH5N6xRL8VXk60fHvXvmPO43PqeB_QNkLWjJ_KQ@mail.gmail.com> (raw)
In-Reply-To: <51242C2D.3030506@mcmaster.ca>

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

Hi Jacques,
  metaocamlmktop works well, thanks!

On Tue, Feb 19, 2013 at 8:51 PM, Jacques Carette <carette@mcmaster.ca>wrote:

> You need to use 'metaocamlmktop' to make a custom top-level which supports
> metaocaml.  I have tested this, and it works.
>
> I will let Oleg answer the other queries.
>
> Jacques
>
>
> On 13-02-18 10:37 PM, bob zhang wrote:
>
>> Dear Oleg,
>>    After reading the patch of BER MetaOCaml today, I found that it is not
>> too hard to port camlp4/Fan to support metaocaml.
>>    I tried to compile and install metaocaml with the patches you provided:
>>
>>    I get an install error
>> ./build/partial-install.sh: line 25: config/config.sh: No such file or
>> directory
>> make: *** [install] Error 1
>>
>>    After I ignore the error message, the metaocaml toplevel works
>> perfectly well.
>>
>>    But if I customized my own toplevel (I used my toplevel as 'ocamlmktop
>> -custom -o mocaml')
>>    mocaml is bundled with compiler-libs, the toplevel does not work, I
>> get the following
>>    error message:
>>    # let spower7 = .! spower7_code;;
>>    Error: Reference to undefined global `Runcode'
>>
>>   Currently metaocaml does not support native code, but it seems that the
>> patch only installs ocamlc, is it possible to get ocamlc.opt installed as
>> well? (not the ocamlopt.opt) ocamlbuild is not installed either. It would
>> be even nicer that ocamlopt.opt could be installed without supporting
>> metaocaml, otherwise I have to switch between different compilers from time
>> to time.
>>
>>    Would you mind get the ocamlbuild, ocamlc.opt also works? I would be
>> happy to port Fan/Camlp4 to support metaoaml, and it would be really cool
>> to get compile-time and run-time metaprogramming work together
>>
>>    Thank you in advance!
>>
>
>


-- 
Regards
-- Bob

[-- Attachment #2: Type: text/html, Size: 2390 bytes --]

  reply	other threads:[~2013-02-20 14:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19  3:37 bob zhang
2013-02-20  1:51 ` Jacques Carette
2013-02-20 14:03   ` bob zhang [this message]
2013-02-20 12:20 ` [Caml-list] " oleg
2013-02-20 14:11   ` bob zhang
  -- strict thread matches above, loose matches on Subject: below --
2013-02-01  6:53 [Caml-list] " oleg
2013-02-01  7:53 ` Francois Berenger
2013-02-26 18:09   ` Anil Madhavapeddy
2013-01-31  7:49 oleg
2013-01-31 12:23 ` rixed
2013-02-01  2:12 ` Francois Berenger

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=CANcqPu72VBcfH5N6xRL8VXk60fHvXvmPO43PqeB_QNkLWjJ_KQ@mail.gmail.com \
    --to=bobzhang1988@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=carette@mcmaster.ca \
    --cc=oleg@okmij.org \
    /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).