rom1504 / rbot

bot made with mineflayer which can do task
MIT License
89 stars 25 forks source link

Implement complicated commands in JS ? #27

Closed rom1504 closed 6 years ago

rom1504 commented 9 years ago

Some complicated commands (for example cget and smove) are currently implemented in "rbot language" resulting in stack problem sometimes, approximate behavior and not so easy to read code.

Would it be possible to implement these commands directly in JS ?

rom1504 commented 9 years ago

Stack problems are fixed.

Maybe the way things are currently implemented can work.

rom1504 commented 9 years ago

It's getting complicated to implement things in rbot language. It would probably be better for rbot language to only be the interface with the user, but not the usual way to define tasks.

yunfan commented 7 years ago

i see you invented your own language for this, but why not use an exists lang, like lua or forth for doing this, especially forth, which's code is very straight and looks similiar with your current one(except much more mature and powerful)

rom1504 commented 6 years ago

actually I want to keep doing that I think, it's pretty cool