That's pretty nice.
Could there be a way to know which function/det(... corresponds to, in reality? maybe by selecting the corresponding line on the menu when the cursor is on a det( ?
ICE Compiler
Re: ICE Compiler
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: 14727
- Images: 1119
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: ICE Compiler
Nice PT_! It seems to work right now
Do all the functions work when you convert your program?
I thought about something : maybe it would be feasible to create equate Tokens, like the Color tokens (BLUE=10, RED=11 etc). Then, SetTextXY would be 19 etc. Maybe a TokenHook could replace for example 2-bytes tokens that don't exist by any C function.... but yea, it should be pretty hard to do
Do all the functions work when you convert your program?
I thought about something : maybe it would be feasible to create equate Tokens, like the Color tokens (BLUE=10, RED=11 etc). Then, SetTextXY would be 19 etc. Maybe a TokenHook could replace for example 2-bytes tokens that don't exist by any C function.... but yea, it should be pretty hard to do
Le projet Geometry Dash est terminé ! N'hésitez pas à aller jeter un coup d’œil au topic du projet ! Vous pouvez le télécharger ici.
Unis par la flèche sacrée de cupidon
Unis par la flèche sacrée de cupidon
-
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 1160
- Images: 4
- Joined: 08 Dec 2014, 17:38
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Ensimag
- GitHub: MathisLav
Re: ICE Compiler
Incredible ! All the C functions now available from TI-Basic !!! =D
Kudos, PT_
Kudos, PT_
-
grosgedVIP++
Niveau 14: CI (Calculateur de l'Infini)- Posts: 770
- Images: 75
- Joined: 14 Sep 2011, 12:29
- Gender:
- Calculator(s):→ MyCalcs profile
Re: ICE Compiler
Adriweb wrote:Could there be a way to know which function/det(... corresponds to, in reality? maybe by selecting the corresponding line on the menu when the cursor is on a det( ?
When I read this, I immediately thought that would be nice indeed What I prefer, is something like a hook, that when you 'hover' a det( function, that is displays the text in the statusbar, like error-scrolling in BASIC, that it displays the line number. I will think about this later
Epharius wrote:Nice PT_! It seems to work right now
Do all the functions work when you convert your program?
Nope, I've not implemented all the functions that returns something (GetPixel for example), and the way-too-hard-examples, like TileMap etc
Epharius wrote:I thought about something : maybe it would be feasible to create equate Tokens, like the Color tokens (BLUE=10, RED=11 etc). Then, SetTextXY would be 19 etc. Maybe a TokenHook could replace for example 2-bytes tokens that don't exist by any C function.... but yea, it should be pretty hard to do
That's basically the same as replacing det(SetTextXY) with SetTextXY()
It's pretty hard to find at lest 80 unused tokens, preferable consecutive (the statistics ones are only 60), so I doubt this will help
Age of CEmpires I - In progress!
-
PT_Programmeur
Niveau 13: CU (Calculateur Universel)- Posts: 259
- Joined: 09 Feb 2016, 23:06
- Gender:
- Calculator(s):→ MyCalcs profile
-
PT_Programmeur
Niveau 13: CU (Calculateur Universel)- Posts: 259
- Joined: 09 Feb 2016, 23:06
- Gender:
- Calculator(s):→ MyCalcs profile
Re: ICE Compiler
I will upload soon a revised version, with some minor bugs fixed, and more examples, to make it more clear what you can do with ICE
This is the famous bounce program:
It should run smooth!
Source:
Copy this into SC, download it, and try it yourself!
This is the famous bounce program:
It should run smooth!
Source:
- Code: Select all
[i]BOUNCE
det(0
det(5,0
[maxY]0,8,8,"0000E0E0E0E0000000E0E0E0E0E0E200E0E000E2E2E2E2E2E0E2E2E2E2E2E7E7E2E2E2E7E7E7E7E7E2E7E7E7E7E7E7E700E7E7E7E7E7E7000000E7E7E7E70000"
For(G,0,19
remainder(rand,312->L1(G
remainder(rand,232->L1(G+20
1->L1(G+40
1->L1(G+60
End
det(2,0
Repeat getKey
For(G,0,19
L1(G->H
L1(G+20->I
det(42,H,I,8,8
If H=312 or not(H
0-L1(G+40->L1(G+40
End
If I=232 or not(I
0-L1(G+60->L1(G+60
End
H+L1(G+40->L1(G
I+L1(G+60->L1(G+20
det(59,0,L1(G),L1(G+20
End
Pause 5
End
det(1
Copy this into SC, download it, and try it yourself!
Age of CEmpires I - In progress!
-
PT_Programmeur
Niveau 13: CU (Calculateur Universel)- Posts: 259
- Joined: 09 Feb 2016, 23:06
- Gender:
- Calculator(s):→ MyCalcs profile
-
PT_Programmeur
Niveau 13: CU (Calculateur Universel)- Posts: 259
- Joined: 09 Feb 2016, 23:06
- Gender:
- Calculator(s):→ MyCalcs profile
Re: ICE Compiler
I've updated ICE v1.2.1 to v1.2.2
There are now more examples to learn from (5 in total [BOUNCE, FLOODIT, GUESS, PONG, SIERP], more are maybe coming soon ), and I've included a post of Mateo where he explains how to convert images to ICE sprite data.
Download ICE Compiler
Have fun!
There are now more examples to learn from (5 in total [BOUNCE, FLOODIT, GUESS, PONG, SIERP], more are maybe coming soon ), and I've included a post of Mateo where he explains how to convert images to ICE sprite data.
Download ICE Compiler
Have fun!
Age of CEmpires I - In progress!
-
PT_Programmeur
Niveau 13: CU (Calculateur Universel)- Posts: 259
- Joined: 09 Feb 2016, 23:06
- Gender:
- Calculator(s):→ MyCalcs profile
Re: ICE Compiler
Nice progress, as usual
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: 6863
- Joined: 23 Dec 2009, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: -
- GitHub: debrouxl
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 3446
- Images: 75
- Joined: 04 Jul 2014, 14:40
- Location: Clermont-Ferrand 63
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: ENS Rennes
- GitHub: Ti64CLi
Return to Langages alternatifs
Who is online
Users browsing this forum: No registered users and 6 guests