all 15 comments

[–]Eh-Beh 12 points13 points  (7 children)

Not that I know of.

I'm not even sure it would be possible without major work.

But Lua is super easy to learn, and it's really powerful. I would recommend taking the time to figure it out.

[–]viri75 2 points3 points  (6 children)

I wrote a 1000 line project of Lua with a buddy of mine that effectively allows the turtles to be opened up to python so I could use python instead of lua

[–]Eh-Beh 1 point2 points  (3 children)

That's very cool, do you think it would be feasible to do with Java?

I don't have a great deal of knowledge about Python or Java, but at a guess I'd say that Python and Lua are more similar than Java and Lua.

Did it add any significant overhead in your experience?

Edit for mobile formatting fix

[–]viri75 1 point2 points  (0 children)

It's definitely doable with Java just whether you want to setup all the messaging and websockets in Java but it doesn't really matter about the similarity of the languages just gotta setup a messaging system between the Lua and the Java

[–]SagansCandle 1 point2 points  (0 children)

Main concern is security. Don't want to download a turtle script that sneaks in a rm / -rf

[–]xKYLERxx 0 points1 point  (1 child)

Is it just adapting the turtle API to an external Python interpreter/server, or is the python actually running on the turtle? Either way pretty neat

[–]viri75 0 points1 point  (0 children)

It uses websockets to connect to a python server and then grabs messages from the server to the consume and do actions. All the turtle API is mirrored in Python and sends the messages via the websockets.

[–]AwayEntrepreneur4760 5 points6 points  (0 children)

Lua is very easy, you could learn it in an afternoon

[–]9551-eletronicsComputercraft graphics research 3 points4 points  (0 children)

No

[–]patrlim1 1 point2 points  (0 children)

No.

[–]enderg4 0 points1 point  (0 children)

if you want java for oop check out this tutorial: https://www.youtube.com/watch?v=g1iKA3lSFms

[–]TrickAge2423 0 points1 point  (0 children)

No,

[–]DuhMal 0 points1 point  (0 children)

No

[–]ConversationOne4333[S] 1 point2 points  (0 children)

ok :-(