Page 2 of 2

Re: NXT development framework?

Posted: 18 Aug 2011, 08:16
by poromenos
That's true, but I think we have to accept it as a given, as there's not much we can do about it... Hopefully it will still be useful even if there are long roundtrip times.

Re: NXT development framework?

Posted: 18 Aug 2011, 14:08
by hassenplug
linusa wrote:The bottom line is of course to "do something better" than others, or provide something that doesn't exist yet.
My philosophy is a bit different: Do something you like. If you're lucky, others will like it too. (this has worked for me)

back to the original thread... I can say for sure, if you want to do something with pbLua, Ralph (who wrote pbLua) will help you, and support you as much as possible.

To the question of motor functionality and syncing, pbLua uses code from the original LEGO firmware. So, it should work just as good as that firmware.

Sounds like a fun project.

Steve

Re: NXT development framework?

Posted: 18 Aug 2011, 14:15
by poromenos
hassenplug wrote: My philosophy is a bit different: Do something you like. If you're lucky, others will like it too. (this has worked for me)
Yep, that's why I'm doing it! I'm still having trouble getting Lua to talk to the serial port without blocking (I want to write a tool to easily concatenate and send Lua files to the brick), but it's been lots of fun so far!

I'm going to put it up on https://github.com/skorokithakis/JellyLua (get it? pb and Jelly?) as soon as I have something that works in the slightest.

Re: NXT development framework?

Posted: 18 Aug 2011, 22:24
by linusa
poromenos wrote: I'm going to put it up on https://github.com/skorokithakis/JellyLua (get it? pb and Jelly?)
Don't get it :-/

Re: NXT development framework?

Posted: 18 Aug 2011, 22:29
by mattallen37
linusa wrote:Don't get it :-/
"pb" stands for Peanut Butter, and often when people abbreviate it to pb they add "& Jelly" (or "and Jelly"), as in "PB&J sandwich". Since there is pbLua, he is calling this JellyLua :lol:

Re: NXT development framework?

Posted: 18 Aug 2011, 22:53
by poromenos
mattallen37 wrote:"pb" stands for Peanut Butter, and often when people abbreviate it to pb they add "& Jelly" (or "and Jelly"), as in "PB&J sandwich". Since there is pbLua, he is calling this JellyLua :lol:
Yep, exactly :) I've pushed the first commit to the repo, It barely does anything other than upload scripts to the brick and provide two callback functions for buttons, but it's my first time with Lua and I'm quite happy!

Re: NXT development framework?

Posted: 19 Aug 2011, 02:01
by linusa
Thanks for explaining the name :-).

Though I've never actually used Lua, I came accross this language "MoonScript", which compiles to Lua. Maybe that's a cool thing for you? http://moonscript.org/

Re: NXT development framework?

Posted: 19 Aug 2011, 08:41
by poromenos
That looks very interesting, thank you! I don't want to introduce an unneeded dependency, but I'll make it so people can write in Moonscript and have it work with Jelly, thanks again!