π
<-

iostream et STL

C, C++, ASM...

Re: iostream et STL

Message non lude Lionel Debroux » 03 Avr 2014, 19:23

Sounds like you've found fun tasks for yourself, Adriweb: making a Ndless Lua extension out of giac, and building a a quick Lua GUI on top of it ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.4%
 
Messages: 6873
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: iostream et STL

Message non lude Excale » 03 Avr 2014, 20:35

parisse a écrit:A calculation GUI for giac would already be great! And if the GUI gives easy access to the online help (like in Xcas, Index, where you have a short description of the command, and you can select an example to be copied in the commandline where you can modify it, or navigate to a related command) and menus (a suitable menu could be a submenu of Xcas menu, see attached file for the French version) it would be awesome. Embedded 2-d plots and/or programs is harder, probably a couple months of work.


Does Giac support UTF-16 input (and/or output)?
Avatar de l’utilisateur
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 3.9%
 
Messages: 2955
Images: 3
Inscription: 10 Sep 2010, 00:00
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude parisse » 03 Avr 2014, 20:48

The parser uses UTF8 and prints UTF8 but there are conversion routines to UTF16 (utf82unicode and unicode2utf8)
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 94.5%
 
Messages: 3814
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude ExtendeD » 03 Avr 2014, 20:57

This is indeed a perfect use case for Ndless Lua extensions. Prototyping and building UI with Lua and the TI-Nspire API is much easier.
Avatar de l’utilisateur
ExtendeDPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Prochain niv.: 64.1%
 
Messages: 204
Inscription: 30 Déc 2004, 00:00
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: N/A

Re: iostream et STL

Message non lude Excale » 03 Avr 2014, 21:20

parisse a écrit:The parser uses UTF8 and prints UTF8 but there are conversion routines to UTF16 (utf82unicode and unicode2utf8)


Perfect. I might try something someday then.
Avatar de l’utilisateur
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 3.9%
 
Messages: 2955
Images: 3
Inscription: 10 Sep 2010, 00:00
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude Adriweb » 03 Avr 2014, 21:54

Lionel Debroux a écrit:Sounds like you've found fun tasks for yourself, Adriweb: making a Ndless Lua extension out of giac, and building a a quick Lua GUI on top of it ;)

Well, highly probably "no". Nspire C(++)-fluent people can do the Lua extension and sure, I can do the rest :P
It's actually nothing else than me being much better at Nspire Lua that at Nspire C(++) (I only made a hello world for 3.1 :P)
And for such a project, everyone only wants the best out of it :D

I'll start looking at ways to integrate the online help to a fork of Xavier's superspire code. I'm already familiar enough with it so diving in won't probably be an issue.

Edit : btw, when I have time, though.... :/

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 82%
 
Messages: 14857
Images: 1211
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: iostream et STL

Message non lude Legimet » 05 Avr 2014, 04:58

I haven't been following this that much lately, but does it use Newlib now?
Avatar de l’utilisateur
LegimetProgrammeur
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 8%
 
Messages: 13
Inscription: 12 Déc 2013, 02:49
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude parisse » 05 Avr 2014, 07:29

No, I did not try to compile with newlib, it's os.h+ustl+nspire-io+tommath.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 94.5%
 
Messages: 3814
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude parisse » 09 Avr 2014, 09:56

Updated with RTTI enabled during compilation (I have removed -fno-rtti from the nspire-g++ script). It seems to work, at least finite field are now supported, for example GF(2,4).
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 94.5%
 
Messages: 3814
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: iostream et STL

Message non lude Adriweb » 01 Mai 2014, 12:31

Some news since last time ? :)

(BTW, Excale was trying to build giac for the Nspire, but couldn't make it. Are there any specific things to do ?
I guess he can reply himself to ask proper instructions ^^
Du nouveau depuis quelques semaines ? :)

(PS : Excale tentait de builder giac pour Nspire, sans succès si j'ai bien compris : y aurait-il des instructions particulières ?
Enfin, je le laisse répondre pour demander ce dont il aurait besoin en particulier ^^)



Edit : translated into english too.

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 82%
 
Messages: 14857
Images: 1211
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

PrécédenteSuivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 invités

Surprise...
-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1256 utilisateurs:
>1240 invités
>9 membres
>7 robots
Record simultané (sur 6 mois):
29271 utilisateurs (le 11/07/2025)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)