caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David Allsopp" <dra-news@metastack.com>
To: "'Yitzhak Mandelbaum'" <yitzhakm@CS.Princeton.EDU>,
	"'Caml-list List'" <caml-list@inria.fr>
Subject: RE: [Caml-list] free, open-source version of OCaml grammar?
Date: Mon, 15 Feb 2010 20:07:30 -0000	[thread overview]
Message-ID: <004401caae7a$8171ea50$8455bef0$@romulus.metastack.com> (raw)
In-Reply-To: <6EC5A02E-D36F-436E-A340-D0B0D59D40BE@cs.princeton.edu>

IANAL!

Yitzhak Mendelbaum wrote:
> I'd like to port the OCaml grammar to another parser generator.

What *exactly* do you mean by port? A line-by-line conversion of
parsing/parser.mly to a your new parser generator's syntax or a brand new
file which exactly parses the same grammar as parsing/parser.mly?

> However, the grammar is covered under the Q Public License, and the
> terms of the license seem to require that the ported version only be
> distributed as a patch to the current YACC grammar.

If you're doing a line-by-line conversion then that might reasonably be
regarded as derivative but if you produce a brand new source file for your
new parser generator for the OCaml language then I would not expect that to
be covered by any aspect of OCaml's licence because the licence covers the
source code of Inria's OCaml (i.e. Copyright) and not the idea of the OCaml
language (i.e. Patent). I have no idea whether the OCaml grammar is
patented, though I'd be surprised if it were as you would have expected
Microsoft to have steered clear when developing F#.

> Given that I'm
> porting the grammar to serve as an example for a new parser generator,
> distributing it as an unreadable patch is quite impractical.

If you're using it as a demo, then I expect you'll find that the benevolent
OCaml team may well be happy to exempt the licence for that use anyway!

HTH,


David 



      parent reply	other threads:[~2010-02-15 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15 19:32 Yitzhak Mandelbaum
2010-02-15 19:52 ` [Caml-list] " Basile STARYNKEVITCH
2010-02-15 20:00   ` Yitzhak Mandelbaum
2010-02-15 20:07 ` David Allsopp [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='004401caae7a$8171ea50$8455bef0$@romulus.metastack.com' \
    --to=dra-news@metastack.com \
    --cc=caml-list@inria.fr \
    --cc=yitzhakm@CS.Princeton.EDU \
    /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).