caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: bob zhang <bobzhang1988@gmail.com>
To: "Török Edwin" <edwin+ml-ocaml@etorok.net>
Cc: caml-list@inria.fr
Subject: [Caml-list] Re: Fan, a promising replacement of camlp4
Date: Wed, 23 Jan 2013 09:59:59 -0500	[thread overview]
Message-ID: <CANcqPu4WJFwmqfs-pLDiASL6rVMy0zE1Zg4z+4ptpD7XLLvPDw@mail.gmail.com> (raw)
In-Reply-To: <50FFA222.4040103@etorok.net>

Thanks, I have made the changes.
btw, currently some work is being done in aggr branch
An obvious difference is that I used
'{| |}' instead of '<< >>' for quotation and '$' instead of '$$' for
antiquotation.(for c/c++ friendly and {} works nice with editors)

On Wed, Jan 23, 2013 at 3:41 AM, Török Edwin <edwin+ml-ocaml@etorok.net> wrote:
> 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()
>  {



-- 
Regards
-- Bob

      reply	other threads:[~2013-01-23 15:00 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
2013-01-23 14:59       ` bob zhang [this message]

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=CANcqPu4WJFwmqfs-pLDiASL6rVMy0zE1Zg4z+4ptpD7XLLvPDw@mail.gmail.com \
    --to=bobzhang1988@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=edwin+ml-ocaml@etorok.net \
    /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).