From: "Török Edwin" <edwin+ml-ocaml@etorok.net>
To: Hongbo Zhang <bobzhang1988@gmail.com>
Cc: caml-list@inria.fr
Subject: [Caml-list] Re: Fan, a promising replacement of camlp4
Date: Wed, 23 Jan 2013 10:41:06 +0200 [thread overview]
Message-ID: <50FFA222.4040103@etorok.net> (raw)
In-Reply-To: <50FF743A.4070906@gmail.com>
On 01/23/2013 07:25 AM, Hongbo Zhang wrote:
> On 1/22/13 8:55 AM, Török Edwin wrote:
>> On 01/21/2013 07:29 AM, bob zhang wrote:
>>>
>>> There are a number of enhancements I don't mention here, it
>>> would be very helpful that you could suggest what kind of
>>> functionality you want, Fan is already much better than camlp4 in all
>>> rounds, it is still at alpha stage, so your opinions matter a lot :-)
>>>
>>
>> How do you build it?
>> I tried this but it failed:
>> $ ocaml -version
>> The OCaml toplevel, version 4.00.1
>> $ ocamlbuild -clean
>> $ ocamlbuild cold/FanDriver.native
>>
>> + ocamlfind ocamlc -annot -w +a-4-32-30 -c -w -41 -I cold -I cold/Lib -o cold/Lib/Ctyp.cmo cold/Lib/Ctyp.ml
>> File "cold/Lib/Ctyp.ml", line 92, characters 21-25:
>> Error: The record field label FSig.ctyp belongs to the type FSig.col
>> but is mixed here with labels of type FSig.record_col
>> Command exited with code 2.
>> Compilation unsuccessful after building 88 targets (0 cached) in 00:00:08.
>>
> Hi,
> It seems that I used 'record name disambiguation' feature in the trunk accidentally(which is trivial to fix).
> Would you have a try using the trunk compiler?
It works with trunk.
The ./re script needs this tiny patch to get rid of a bashism, and then it works too:
diff --git a/re b/re
index 63562dd..3d1c1c7 100755
--- a/re
+++ b/re
@@ -2,7 +2,7 @@
# -*- Mode:Shell-script -*-
set -e
PROGNAME=$(basename $0)
-function error_exit
+error_exit()
{
next prev parent reply other threads:[~2013-01-23 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 5:29 [Caml-list] " bob zhang
2013-01-21 10:43 ` Ivan Gotovchits
2013-01-21 14:19 ` bob zhang
2013-01-22 13:55 ` Török Edwin
2013-01-23 5:25 ` [Caml-list] " Hongbo Zhang
2013-01-23 8:41 ` Török Edwin [this message]
2013-01-23 14:59 ` bob zhang
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=50FFA222.4040103@etorok.net \
--to=edwin+ml-ocaml@etorok.net \
--cc=bobzhang1988@gmail.com \
--cc=caml-list@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