π
<-
Chat plein-écran
[^]

PCspire, run Nspire lua programs nativly on your pc

Pour TI-Nspire OS 3.0 ou ultérieur.

PCspire, run Nspire lua programs nativly on your pc

Unread postby jimbauwens » 14 Mar 2012, 11:35

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
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 29.9%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

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

Unread postby Levak » 14 Mar 2012, 11:50

Add a debugger and you'll be able to challenge 3.2 SDK :D :D
Responsable design/graphique de TI-Planet

I do not get mad at people, I just want them to learn the way I learnt.
ImageTNOC [topic][DL]
nClock [topic][DL]
HideManager [topic][DL]
ZLock [topic][DL]
Theme Editor [topic][DL]
Mes programmes
User avatar
LevakAdmin
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 91.4%
 
Posts: 6414
Images: 22
Joined: 27 Nov 2008, 00:00
Location: 0x1AACC355
Gender: Male
Calculator(s):
Class: BAC+5: Epita (ING3)

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

Unread postby Adriweb » 14 Mar 2012, 17:38

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
Image
MyCalcs
: Help the community's calculator documentations by filling out your calculator info!
MyCalcs
: Aidez la communauté à documenter les calculatrices en donnant des infos sur votre calculatrice ![/url]
Inspired-Lua.org
: All about TI-Nspire Lua programming
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 58.7%
 
Posts: 13611
Images: 1101
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Twitter: adriweb
GitHub: adriweb

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

Unread postby Excale » 14 Mar 2012, 17:39

Yup, awesome! :)
User avatar
ExcaleAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 40.3%
 
Posts: 2955
Images: 3
Joined: 10 Sep 2010, 00:00
Gender: Male
Calculator(s):

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

Unread postby Lionel Debroux » 14 Mar 2012, 19:15

Definitely awesome ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 9.9%
 
Posts: 6754
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

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

Unread postby jimbauwens » 14 Mar 2012, 20:52

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.
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 29.9%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

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

Unread postby jimbauwens » 15 Mar 2012, 11:28

Simple debugger:
Image
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 29.9%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

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

Unread postby Lionel Debroux » 15 Mar 2012, 12:44

Sweet ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 9.9%
 
Posts: 6754
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

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

Unread postby Adriweb » 15 Mar 2012, 16:14

Impressive, actually :D


also, wat is gvars() ? :o
edit : ok nevermind, class/obj dumper wit hierarchy, awesome job making that :D
Image
MyCalcs
: Help the community's calculator documentations by filling out your calculator info!
MyCalcs
: Aidez la communauté à documenter les calculatrices en donnant des infos sur votre calculatrice ![/url]
Inspired-Lua.org
: All about TI-Nspire Lua programming
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 58.7%
 
Posts: 13611
Images: 1101
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Twitter: adriweb
GitHub: adriweb

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

Unread postby ExtendeD » 15 Mar 2012, 18:33

Bright idea Jim, good job.
User avatar
ExtendeDPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 64.1%
 
Posts: 204
Joined: 30 Dec 2004, 00:00
Gender: Male
Calculator(s):
Class: N/A

Next

Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 5 guests

-
Search
-
Social
-
Featured topics
Concours de rentrée 2021 - La Geste d'Alrys
Concours de rentrée 2021 - Synchro-donjon !
Comparaisons des meilleurs prix pour acheter sa calculatrice !
25€ remboursés par Casio sur l'achat de ta calculatrice fx-CP400 d'ici le 31 Octobre 2021
Journées APMEP 2021 à l'IUT de Bourges les 24-25 Octobre. Viens rencontrer Casio, NumWorks, TI et Vittascience.
Coque NumWorks édition limitée Octobre 2021 à gagner.
123456
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
524 utilisateurs:
>514 invités
>4 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)

-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)