caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Loup Vaillant" <loup.vaillant@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Where are the AST specs?
Date: Mon, 19 Mar 2007 11:20:50 +0100	[thread overview]
Message-ID: <cd67f63a0703190320u1cfa5dc7t11c6a25a1c40de8@mail.gmail.com> (raw)
In-Reply-To: <6f9f8f4a0703190217o5a975a78s16fe2be77825af01@mail.gmail.com>

On 3/19/07, Loup Vaillant <loup.vaillant@gmail.com> wrote:
> 2007/3/19, Olivier Andrieu <oandrieu@nerim.net>:
> > On 3/18/07, Loup Vaillant <loup.vaillant@gmail.com> wrote:
> > > Hello everyone,
> > >
> > > I am currently working on giving Ocaml a Lisp syntax.
> >
> > In case you haven't noticed it, there used to be a lispish syntax for
> > ocaml written with camlp4.
> > It's in the camlp4 tree :
> > http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/camlp4/unmaintained/scheme
>
> Actually, I haven't noticed it. At first glance this syntax is close
> to my standards. However, Do you know if it has macros? Clean macros
> remain my main goal. My holy grail is the power (and ease of use) of
> Common Lisp macros.

I think, it don't has macros, but Daniel de Rauglaudre would give a
more accurate answer.

BTW camlp4 provides a simple macro system through a dynamic syntax
extension. It features DEFINE, IFDEF, INDEF, and INCLUDE.

However camlp4 is itself a powerful way to manage the OCaml syntax as
AST through it's quotation system.

Have you a simple specification of what you want for OCaml (or some examples).

-- 
Nicolas Pouillard


  reply	other threads:[~2007-03-19 10:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-18 17:22 Loup Vaillant
2007-03-18 18:21 ` [Caml-list] " Tom
2007-03-19  8:45 ` Olivier Andrieu
2007-03-19  9:17   ` Loup Vaillant
2007-03-19 10:20     ` Nicolas Pouillard [this message]
2007-03-19 10:53       ` Loup Vaillant
2007-03-19 13:02         ` Nicolas Pouillard
     [not found]           ` <6f9f8f4a0703190742w3cd42978ib23a78163542729f@mail.gmail.com>
2007-03-19 15:37             ` Nicolas Pouillard
2007-03-19 16:08               ` Loup Vaillant
2007-03-19 16:37                 ` Nicolas Pouillard
2007-03-23  9:59                   ` Loup Vaillant

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=cd67f63a0703190320u1cfa5dc7t11c6a25a1c40de8@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=loup.vaillant@gmail.com \
    /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).