This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
sci4me's profile picture

Lua Version?

Started by sci4me, 06 June 2014 - 08:25 PM
sci4me #1
Posted 06 June 2014 - 10:25 PM
We're at 5.1 yes? Will CC ever support 5.2? I hope so.. why not? I remember reading (forever ago) that there's some reason we haven't upgraded… anyone want to fill me in?
MKlegoman357 #2
Posted 06 June 2014 - 10:29 PM
I think it was for backwards compatibility with older CC versions…
Edited on 06 June 2014 - 08:29 PM
Cranium #3
Posted 06 June 2014 - 10:40 PM
The problem with upgrading to 5.2 from what I was told by Dan, was that it would break almost everything ComputerCraft is based on. Not sure why, but that's the reason I was given.
theoriginalbit #4
Posted 07 June 2014 - 01:49 AM
Yeah I seem to remember the reason was based on the fact that the advantage it gave was not worth the amount of scripts it would break. However given the update from CC 1.5 to CC 1.6 and how much that broke, this may not be Dan's philosophy anymore. I suppose we shall just have to wait and see.
Lyqyd #5
Posted 07 June 2014 - 04:52 AM
For one, it removes getfenv and setfenv, which would break the os.loadAPI code.
awsmazinggenius #6
Posted 07 June 2014 - 06:11 AM
Which could just be rewritten/modified to use the global _ENV to make environments rather than getfenv/setfenv.