caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Basile STARYNKEVITCH <basile@starynkevitch.net>
To: Yitzhak Mandelbaum <yitzhakm@CS.Princeton.EDU>
Cc: Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] free, open-source version of OCaml grammar?
Date: Mon, 15 Feb 2010 20:52:06 +0100	[thread overview]
Message-ID: <4B79A5E6.9080407@starynkevitch.net> (raw)
In-Reply-To: <6EC5A02E-D36F-436E-A340-D0B0D59D40BE@cs.princeton.edu>

Yitzhak Mandelbaum wrote:
> Hi,
> 
> I'd like to port the OCaml grammar to another parser generator. 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. 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.
> 

I am not sure that the licence requires you to make it a patch, if the syntax of your grammar is sufficiently different. 
(for instance, to port it to ANTLR/PCCTS). But I am not a lawyer.

If you intend to make a free software of your parser, perhaps the easiest way would be to ask kindly the Ocaml team?

My feeling is that your understanding of Ocaml's licence is too restrictive, especially if you play the free software 
game. But I am not a lawyer!

And a language syntax is not described by a yacc grammar, but by a human readable document. AFAIK, the Ocaml reference 
manual is not covered by QPL.

Regards.


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


  reply	other threads:[~2010-02-15 19:52 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 ` Basile STARYNKEVITCH [this message]
2010-02-15 20:00   ` [Caml-list] " Yitzhak Mandelbaum
2010-02-15 20:07 ` David Allsopp

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=4B79A5E6.9080407@starynkevitch.net \
    --to=basile@starynkevitch.net \
    --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).