Usability of grammars-v4 contributions that don't have a license?

101 views
Skip to first unread message

Ross Patterson

unread,
Feb 25, 2022, 8:38:20 PM2/25/22
to antlr-discussion
I know more than I'd care to about software licensing, so this isn't a noob question, although this is my first time doing anything with ANTLR.  I understand that the grammars-v4 repo explicitly has no common license, and expects each contributed parser to specify its licensing.  So, what about the ones that don't?  In the absence of a license, or a dedication to the public domain, copyright law applies, and it's up to the owner(s) to decide what to allow.

I would like to use, and to contribute improvements to, the Rexx parser (https://github.com/antlr/grammars-v4/commits/master/rexx).  But it doesn't have a license, either in a file or in the code (or even the test case).  Is there even a reason to include parsers nobody is allowed to use without permission in the collection?

Ross

Wanadoo

unread,
Feb 26, 2022, 12:47:17 AM2/26/22
to antlr-di...@googlegroups.com
Dear Ross

surely you understand that there can’t be a general answer to this question.

I encourage you to reach out to the author of that specific grammar directly.

Eric 

Envoyé de mon iPhone

Le 26 févr. 2022 à 02:38, Ross Patterson <ross.pa...@gmail.com> a écrit :

I know more than I'd care to about software licensing, so this isn't a noob question, although this is my first time doing anything with ANTLR.  I understand that the grammars-v4 repo explicitly has no common license, and expects each contributed parser to specify its licensing.  So, what about the ones that don't?  In the absence of a license, or a dedication to the public domain, copyright law applies, and it's up to the owner(s) to decide what to allow.

I would like to use, and to contribute improvements to, the Rexx parser (https://github.com/antlr/grammars-v4/commits/master/rexx).  But it doesn't have a license, either in a file or in the code (or even the test case).  Is there even a reason to include parsers nobody is allowed to use without permission in the collection?

Ross

--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/antlr-discussion/8ae8f869-5328-4ae2-afc5-17f557c28867n%40googlegroups.com.

Terence Parr

unread,
Feb 26, 2022, 1:57:49 PM2/26/22
to antlr-di...@googlegroups.com
hi. yeah, sorry about that. In many cases we find things without licenses that we feel would be good to have, so included those grammars. sorry for any hassles.
Ter

--
Dictation in use. Please excuse homophones, malapropisms, and nonsense.


--

Ross Patterson

unread,
Feb 26, 2022, 3:58:14 PM2/26/22
to antlr-discussion
I've (just!) located the original source - https://github.com/candiduslynx/antlr4-rexx.  The original is under the MIT license, and I've asked the creator to submit a patch adding the license (https://github.com/candiduslynx/antlr4-rexx/blob/master/LICENSE) file to grammars-v4/rexx.

Ross

Ross Patterson

unread,
Feb 26, 2022, 4:01:29 PM2/26/22
to antlr-discussion
Actually, there can be.  It isn't up to me to make a decision (obviously), but code that isn't licensed doesn't even belong in the repo - absent a license, grant of permission, or dedication to the public domain, it's the private property of its author and can't be used by anyone else (at least in Berne Convention countries).  If it was my project, I wouldn't accept code without a clear statement of permission (ideally, a license).

Ross

Terence Parr

unread,
Feb 26, 2022, 6:58:35 PM2/26/22
to antlr-di...@googlegroups.com
Thanks, Ross!
Ter
--
Dictation in use. Please excuse homophones, malapropisms, and nonsense.

Andy

unread,
Feb 28, 2022, 11:11:22 AM2/28/22
to antlr-di...@googlegroups.com

Hi Ter, Have you chance to try and debug the code? Andy

 

Sent from Mail for Windows

Terence Parr

unread,
Feb 28, 2022, 12:24:42 PM2/28/22
to antlr-di...@googlegroups.com
sorry. not yet. Soon!
Ter
--
Dictation in use. Please excuse homophones, malapropisms, and nonsense.

andy....@btinternet.com

unread,
Feb 28, 2022, 2:45:12 PM2/28/22
to antlr-di...@googlegroups.com

Ross Patterson

unread,
Feb 28, 2022, 8:34:28 PM2/28/22
to antlr-di...@googlegroups.com
The author has chosen to apply the Apache 2.0 license.  See PR antlr/grammars-v4#2529.

Ross

Terence Parr

unread,
Mar 3, 2022, 8:46:13 PM3/3/22
to antlr-di...@googlegroups.com
 excellent. Thanks for chasing this down Ross!
Ter

Dictation in use. Please excuse homophones, malapropisms, and nonsense.
--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages