richardhundt / shine

A Shiny Lua Dialect
Other
231 stars 18 forks source link

permission to reuse bytecode generator modules / copyright notice #27

Closed franko closed 10 years ago

franko commented 10 years ago

Hi Richard,

I'm using your bytecode generator module in my project, GSL Shell. For the moment it does live in the "lang-reloaded" branch.

https://github.com/franko/gsl-shell/tree/lang-reloaded

in the "lang" directory.

The generator/bytecode is heavily modified and it does generate the same bytecode of LuaJIT in most cases. You may be interested to use it in Nyanga but some minor modifications of the Lua AST should be implemented.

Inside the "lang" directory there is also a complete Lua parser and lexer which are almost literal translations of the LuaJIT's implementations.

So I am asking you the permission of using the modified generator bytecode modules in my project and I would like also to know what kind of copyright notice you would like I put on the code.

I'm interested also to know if you want to use my modifications in Nyanga. I believe that this can be a benefit for Nyanga but it does require some work and the code is very different. Since the change are not trivial improvements you not wish to accept the changes.

Let me know.

Francesco

richardhundt commented 10 years ago

Hi Francesco,

On 2/1/14 11:17 AM, Francesco wrote:

Hi Richard,

I'm using your bytecode generator module in my project, GSL Shell. For the moment it does live in the "lang-reloaded" branch.

https://github.com/franko/gsl-shell/tree/lang-reloaded

in the "lang" directory.

The generator/bytecode is heavily modified and it does generate the same bytecode of LuaJIT in most cases. You may be interested to use it in Nyanga but some minor modifications of the Lua AST should be implemented.

I've had a glance over your code generation and it looks very nice.

Inside the "lang" directory there is also a complete Lua parser and lexer which are almost literal translations of the LuaJIT's implementations.

That's pretty cool, especially considering my original goal was to create a modifiable Lua implementation :)

So I am asking you the permission of using the modified generator bytecode modules in my project and I would like also to know what kind of copyright notice you would like I put on the code.

I've added copyright notices now. It's an MIT licence, although I really don't care what you do with it as long as I don't get sued if it eats your laundry.

I'm interested also to know if you want to use my modifications in Nyanga. I believe that this can be a benefit for Nyanga but it does require some work and the code is very different. Since the change are not trivial improvements you not wish to accept the changes.

I've just spent a few days fixing closure handling yet again (had an issue with break statements in loops not emitting UCLO instructions correctly), added pattern matching, destructuring assignment, and an ffi-based coroutine scheduler, so it has grown quite a bit and I'll need to be really careful with integrating major changes like you've made. I'll give it a try though.

Let me know.

Francesco

— Reply to this email directly or view it on GitHub https://github.com/richardhundt/nyanga/issues/27.