caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Yitzhak Mandelbaum <yitzhakm@CS.Princeton.EDU>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] free, open-source version of OCaml grammar?
Date: Mon, 15 Feb 2010 15:00:27 -0500	[thread overview]
Message-ID: <78212D6C-9400-42CB-892F-9F9FB068D334@CS.Princeton.EDU> (raw)
In-Reply-To: <4B79A5E6.9080407@starynkevitch.net>

Basil,

I agree that my reading might well be too restrictive. Indeed, if  
anyone who understands these matters well can clarify, I'd appreciate  
it.

Regarding the issue of syntax -- true in principle, but the fact of  
the matter is that I started with the yacc grammar, not the reference  
manual.  As an earlier thread on this list discussed [1], the manual  
is more of a guideline, then a specification. :-)

Cheers,
Yitzhak

[1] http://caml.inria.fr/pub/ml-archives/caml-list/2008/06/b8d8bf2988e32db0cdb365037297996c.en.html



On Feb 15, 2010, at 2:52 PM, Basile STARYNKEVITCH wrote:

> 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} ***

-----------------------------
Yitzhak Mandelbaum




  reply	other threads:[~2010-02-15 20:00 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 [this message]
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=78212D6C-9400-42CB-892F-9F9FB068D334@CS.Princeton.EDU \
    --to=yitzhakm@cs.princeton.edu \
    --cc=basile@starynkevitch.net \
    --cc=caml-list@inria.fr \
    /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).