matthewmueller/joy

Licensing: Update examples & add License file

Open

#60 创建于 2017年12月13日

在 GitHub 查看
 (5 评论) (1 反应) (0 负责人)Go (34 fork)github user discovery
good first issuehelp wanted

仓库指标

Star
 (1,317 star)
PR 合并指标
 (PR 指标待抓取)

描述

From HN: https://news.ycombinator.com/item?id=15910300

Hey, great work! Just a heads up about licensing. JavaScript code fragments that you use inside the compiler to produce the final output are technically part of the source code, and thus the output is also GPLv3 licensed as a derived work.

That's a known GPL quirk, and other GPL-licensed compilers like GCC use a separate variant of GPL to avoid that collision.

You can see how GNU Bison does it: https://git.savannah.gnu.org/cgit/bison.git/tree/src/parse-g... since they put fragments of Bison code to the final generate source file. That's exactly what Joy does to generate JavaScript, so you should put similar notice to the repository.

Also, LICENCE file is not there.

贡献者指南