caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dario Teixeira <darioteixeira@yahoo.com>
To: Sylvain Le Gall <sylvain@le-gall.net>, caml-list@inria.fr
Subject: Re: [Caml-list] Re: OSR: META files for packages containing syntax extensions
Date: Fri, 14 Mar 2008 14:52:20 +0000 (GMT)	[thread overview]
Message-ID: <26180.42783.qm@web54605.mail.re2.yahoo.com> (raw)
In-Reply-To: <slrnftia5e.tll.sylvain@gallu.homelinux.org>

Hi,

> 4.3 and 4.2 should be merged. 
> 
> All syntax extension should be contained in a package "statements" (or
> whatever other name is chosen). If there is only 1 syntax extension, the
> package "statements" is directly the syntax extension. If there is
> several extension, each one get its own package with a name related to
> its function.

Thanks for your comments, Sylvain.  Below is a modification to the original
proposal that incorporates your comments (with a few tweaks); under this new
proposal, *all* syntax extensions have a ".syntax" suffix for findlib users:

4.1. Package is a syntax extension:

"openin"        - the runtime lib required by the extension (if applicable)
"openin.syntax" - The syntax extension itself

4.2. Package with optional syntax extension:

"pgocaml"        - refers to the library without extension;
"pgocaml.syntax" - refers to all syntax extensions in package;

4.3. Package is a collection of syntax extensions:

"p4ck"               - all runtime libs for all extensions in collection?
"p4ck.openin"        - runtime support for the openin extension (if applicable)
"p4ck.openin.syntax" - the openin syntax extension
"p4ck.syntax"        - all syntax extensions in the collection


Though I'd prefer to avoid the Java syndrome of being.namespaced.into.oblivion,
this new proposal does have the advantage of unifying all special cases.

Any thoughts?

Cheers,
Dario



      ___________________________________________________________ 
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/


  parent reply	other threads:[~2008-03-14 14:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 12:40 Dario Teixeira
2008-03-13 13:14 ` Sylvain Le Gall
2008-03-13 13:21   ` Eric Cooper
2008-03-13 13:30     ` Sylvain Le Gall
2008-03-14 15:00       ` [Caml-list] " Dario Teixeira
2008-03-14 14:53     ` Dario Teixeira
2008-03-14 14:52   ` Dario Teixeira [this message]
2008-03-14 15:09     ` Sylvain Le Gall
2008-03-14 15:41       ` [Caml-list] " Dario Teixeira
2008-03-13 15:05 ` [Caml-list] " Stefano Zacchiroli
2008-03-13 15:30   ` Gerd Stolpmann
2008-03-13 17:08     ` blue storm
2008-03-14 15:33       ` Dario Teixeira
2008-03-14 15:51         ` Gerd Stolpmann
2008-03-16 21:34 ` [Caml-list] OSR: META files for packages containing syntax extensions (take 2) Dario Teixeira

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=26180.42783.qm@web54605.mail.re2.yahoo.com \
    --to=darioteixeira@yahoo.com \
    --cc=caml-list@inria.fr \
    --cc=sylvain@le-gall.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).