Page 1 sur 2

PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 11:35
de jimbauwens
Hello :)

Just wanted to show a little project I'm busy on.
As some of you know, I mainly develop on Linux. This means testing Nspire Lua programs is a bit harder.
Nspire_emu works fine, but there is no mouse support.
That is why I set out to create something to run Lua programs natively (meaning without emulation) on my computer.
I started 2 days ago, and here is the result:

EEPro runs pretty good
Image

Tetris:
Image

It even correctly sets the Lua screen variables if the window is bigger:
Image

I use the Löve Lua framework, since it was also event based and that made stuff a bit easier.

What do you lads think of it?

Edit: colors are bad because of screen recorder

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 11:50
de Levak
Add a debugger and you'll be able to challenge 3.2 SDK :D :D

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 17:38
de Adriweb
This is awesome indeed.

If you actually have a way to link it to an [external] debugger it can really completely overtake the 3.2 sdk
:D

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 17:39
de Excale
Yup, awesome! :)

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 19:15
de Lionel Debroux
Definitely awesome ;)

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 14 Mar 2012, 20:52
de jimbauwens
Thanks :)

I'll see to add a debugger in the style of a console where you can list/read/write variables and other stuff.
Probably also the ability to drop to a lua console.

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 15 Mar 2012, 11:28
de jimbauwens
Simple debugger:
Image

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 15 Mar 2012, 12:44
de Lionel Debroux
Sweet ;)

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 15 Mar 2012, 16:14
de Adriweb
Impressive, actually :D


also, wat is gvars() ? :o
edit : ok nevermind, class/obj dumper wit hierarchy, awesome job making that :D

Re: PCspire, run Nspire lua programs nativly on your pc

Message non luPosté: 15 Mar 2012, 18:33
de ExtendeD
Bright idea Jim, good job.