LuxLang / lux

The Lux Programming Language
Mozilla Public License 2.0
1.69k stars 50 forks source link

Specify known good versions of JDK and Leiningen in documentation #54

Closed phlummox closed 4 years ago

phlummox commented 4 years ago

It seems it's a common stumbling block for people to be unable to build even a "Hello world" program in Lux due to their using versions of Leiningen and the JDK that Lux doesn't work with - e.g. #41.

Rather than just closing those issues, could I suggest that it might, perhaps, be useful to add to both the README and to the Lux book (assuming the URL I have for it is up to date - perhaps this has already been added) a new section called "Prerequisites" which details the versions of JDK and Leiningen which Lux is known to work with?

eduardoejp commented 4 years ago

Hello, @phlummox !

I don't think I can give you a satisfactory answer for this, but at least I'd like to let you know where things stand.

I have focused (for a while... >_>) on finishing version 0.6 of the language. Version 0.6 works with the latest Leiningen, and on Java 13. Which is to say, I addressed the issue that you mentioned... but only for v0.6.

That is because I haven't worked on keeping v0.5 (which is the version used in the book) up to date, since I feel there's not much point in doing so since v0.6 is what I need to be focusing on.

I realize that's not a good answer for someone who just wants to try out Lux and only has access to v0.5 (and the only available book only covers v0.5).

For what is worth, I expect to have a release-ready v0.6 JVM compiler by the end of June or early July. I could also update parts of the book on demand for people who want to play around with it.

But right now I don't want to spend time updating v0.5 or back-porting v0.6 changes into it, as I feel it would be a distraction.

I apologize for the current state of affairs. It's mostly a consequence of how long it has taken me to develop v0.6, but hopefully it will all be worth it soon.

phlummox commented 4 years ago

No worries - would you accept a pull request amending the README, stating what the limitations are for 0.5? That might be handy for future people who come across it.

And good luck with v0.6 - keen to see it!

eduardoejp commented 4 years ago

Sure. I'd welcome such a PR. :)