π
<-
Chat plein-écran
[^]

ICE Compiler

Assembleur, Axe, C/C++, ICE...

Re: ICE Compiler

Unread postby PT_ » 04 Sep 2017, 16:29

Good news! I added GetPixel( in the ASM version! :D

It's still a bit primitive, the syntax should look like this: det(7,[expression],[expression])→[variable].
You do need the closing parenthesis, otherwise it won't work.

Download: archives_voir.php?id=587211

Image
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby PT_ » 11 Sep 2017, 19:30

Okay, a question for y'all: what would you like to see implemented?
I'm almost done with the functions I wanted to add, I'm done with adding pointers, I've fixed strings, added sub( and length( and what more.
What do you want to see added? If it's not a common routine/function, please explain what it does and why it's useful. Thanks! :D
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby Ruadh » 11 Sep 2017, 20:53

What I would really like is having more variables. I personally don't care about custom variable names, so I would be happy with just two letter variables.
User avatar
RuadhPremium
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 37.5%
 
Posts: 38
Joined: 11 Jan 2016, 23:19
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby Ti64CLi++ » 11 Sep 2017, 21:11

@PT_ I would like the reading of any file like appvars and programs. The possibility to compile in application
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.3%
 
Posts: 3441
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: ICE Compiler

Unread postby PT_ » 13 Sep 2017, 17:57

So it seems I had a bunch of free time and integrated the fileioc lib! :D

Image

I've decided to use "sum(', but I can easily switch if necessary.
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby TheMachine02 » 14 Sep 2017, 12:52

Excellent ! It will open a wide range of possibilities :D
User avatar
TheMachine02Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 29.4%
 
Posts: 341
Images: 0
Joined: 16 Jan 2013, 18:27
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: Médecine

Re: ICE Compiler

Unread postby PT_ » 16 Sep 2017, 20:30

Okay, I've added sin( and cos( :D I took this routine and modified a *bit*, because ICE only handles integers. The input is [0,256] and the output is [-256,256]. Only problem: the routine is 176 bytes large...
***PT_ hides

Image
Image
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby PT_ » 19 Sep 2017, 14:02

Multi-letter variables are now implemented :D

Image
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby V0id » 19 Sep 2017, 19:41

BooYay ! :D
Un émulateur de CHIP 8 ? viewtopic.php?t=20740
User avatar
V0idEcrivain
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 43.2%
 
Posts: 81
Images: 0
Joined: 29 Aug 2016, 11:05
Location: Dans l'univers observable
Gender: Male
Calculator(s):
MyCalcs profile

Re: ICE Compiler

Unread postby PT_ » 27 Sep 2017, 13:28

I'm ready with implementing everything, so it's time for bugtesting. I've tested all the non-expression functions, like If, Repeat, Call etc.
Also, it seems the icon and description works :D

Image
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

PreviousNext

Return to Langages alternatifs

Who is online

Users browsing this forum: No registered users and 52 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
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.
1641 utilisateurs:
>1627 invités
>9 membres
>5 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)