ComputerCraft icon indicating copy to clipboard operation
ComputerCraft copied to clipboard

Suggestion

Open Th3-A6add0n opened this issue 5 years ago • 4 comments

Will there be a python version of ComputerCraft?

Th3-A6add0n avatar Sep 01 '19 16:09 Th3-A6add0n

JavaScript has been suggested before and Python is going to be denied for the same reasons which I will repeat here (in the accuracy that my memory allows).

  • Adding another language particularly one which does things quite differently to Lua will break peripheral mods.
  • CC is tied quite strongly to the Lua VM, a lot of stuff on the Java side of things makes several assumptions about the VM which work in Lua but not in JS (and I assume this will end up the same for Python)

Also, can you make the title more descriptive?

Lupus590 avatar Sep 01 '19 16:09 Lupus590

Nothing prevents somebody to make a fork of CC/CC:T using other scripting language, but the original repo (or CC:T, its spiritual sucessor) doesnt have any intention of change.

vico93 avatar Sep 01 '19 20:09 vico93

  • will break peripheral mods.
  • CC makes several assumptions about the VM which work in Lua but not in JS

Neither of these are entirely true any more. I've found ways to get around CC's assumptions for Cobalt, so it'd definitely be possible to do the same for Python or JS.

However, I think the main issue is that it's just not worth it, and perhaps more importantly, not in scope for CC.

SquidDev avatar Sep 01 '19 20:09 SquidDev

moonshine.js

ashwalk33r avatar Mar 25 '20 19:03 ashwalk33r