Change printed banner to print only Lua version.#7
Change printed banner to print only Lua version.#7averms wants to merge 1 commit intogiann:masterfrom
Conversation
|
Actually I think the format of the banner looks a little uneven: I think it might be better to have the version in the same line. Maybe like: |
|
Thanks for the patch. |
On startup of the interpreter it should be there, right? Obviously once the user starts executing code they can do whatever but this is a banner that prints at startup. I've never used croissant as a debugger so maybe I'm missing something there. There's no other way to programmatically get the Lua version from inside Lua unless you write a C extension that
Not sure it's possible to print out the copyright info with correct years programmatically unless you write a C extension or parse As for the legal side, I'm not a lawyer but the MIT license requirement for copyright attribution is for "all copies or substantial portions of the Software.", which I don't think this is. |
|
I also note that the existing behaviour doesn't work in Lua 5.4: |
|
Yes it's totally untested with 5.4 |
This fixes #6.