
iostream et STL
Re: iostream et STL
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.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Posts: 6869
- Joined: 23 Dec 2009, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: -
- GitHub: debrouxl
Re: iostream et STL
parisse wrote: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)?
-
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2955
- Images: 3
- Joined: 10 Sep 2010, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
The parser uses UTF8 and prints UTF8 but there are conversion routines to UTF16 (utf82unicode and unicode2utf8)
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 3721
- Joined: 13 Dec 2013, 16:35
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
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.
-
ExtendeDPremium
Niveau 8: ER (Espèce Rare: nerd)- Posts: 204
- Joined: 30 Dec 2004, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: N/A
Re: iostream et STL
parisse wrote:The parser uses UTF8 and prints UTF8 but there are conversion routines to UTF16 (utf82unicode and unicode2utf8)
Perfect. I might try something someday then.
-
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2955
- Images: 3
- Joined: 10 Sep 2010, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
Lionel Debroux wrote: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

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

And for such a project, everyone only wants the best out of it

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
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14820
- Images: 1131
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: iostream et STL
I haven't been following this that much lately, but does it use Newlib now?
-
LegimetProgrammeur
Niveau 4: MC (Membre Confirmé)- Posts: 13
- Joined: 12 Dec 2013, 02:49
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
No, I did not try to compile with newlib, it's os.h+ustl+nspire-io+tommath.
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 3721
- Joined: 13 Dec 2013, 16:35
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
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).
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 3721
- Joined: 13 Dec 2013, 16:35
- Gender:
- Calculator(s):→ MyCalcs profile
Re: iostream et STL
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 ^^

(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 ^^)

(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
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14820
- Images: 1131
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Return to Native: Ndless, Linux, ...
Who is online
Users browsing this forum: ClaudeBot [spider] and 6 guests