[erlang-questions] lib/syntax_tools uses LGPL-2.0 + license

Kenneth Lundin <>
Fri Feb 10 10:08:01 CET 2017


In my previous answer I was not thinking about removing syntax tools from
the Erlang distribution, I just explained
that syntax_tools and other Erlang applications included in the Erlang
distribution CAN BE LEFT OUT (if there are no dependencies
to them). Syntax_tools and the Compiler for that matter are applications
that typically are used during development and not in runtime.

I know there are exceptions to this where a system generate new Erlang
modules in runtime.
In that case you get a dependency to the Compiler application but not
necessarily to Syntax_tools.

Note that the current Erlang/OTP distribution is a development and runtime
system for Erlang and that the idea is that the user
create his own release which contain a subset of the components (Erlang
applications) included in the distribution.

/Kenneth, Erlang/OTP Ericsson





On Fri, Feb 10, 2017 at 9:08 AM, Marc Worrell <> wrote:

> Hi,
>
> We use syntax_tools extensively in Zotonic for compiling templates and
> dispatch rules to Erlang modules.
> This is done runtime, so we would prefer that syntax_tools stays in the
> Erlang distribution.
>
> Regards,
>
> Marc Worrell
>
>
> On 10 Feb 2017, at 09:02, Kenneth Lundin <> wrote:
>
> Hi,
>
> The license of Syntax tools is changed to Apache-2 and LGPL (it is the
> users choice) in the master branch (which is the way to
> the next major release (OTP 20) in end of June.
>
> And yes you can leave out syntax tools for most usage. It is mostly used
> during development for some non mandatory tools.
> For example it is used by edoc the tool for generating documentation from
> the source code.
>
> It is unlikely to be used in a deployed server.
>
> /Kenneth, Erlang/OTP Ericsson
>
> On Thu, Feb 9, 2017 at 10:25 PM, chris casilli <
> > wrote:
>
>> Hello,
>>
>> I noticed that lib/syntax_tools uses LGPL-2.0+ license.
>> How does this effect the overall Apache-2.0 license of OTP.
>>
>> Can this component be left out. Is a different version available that
>> uses Apache-2.0 license.
>>
>> Kind Regards,
>>
>> Chris Casilli
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170210/fccb9159/attachment.html>


More information about the erlang-questions mailing list