π
<-

OCaml on the TI 84+ CE

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

OCaml on the TI 84+ CE

Message non lude squishy » 11 Sep 2024, 04:01

Hey all,

If you also happen to be an OCaml enthusiast, you can now write OCaml programs for your calculator!

https://github.com/nathanfarlow/c-of-ocaml

You will probably run into bugs if you try to use it seriously, since it's more of a proof of concept at the moment.

I wonder, is there more of an interest in OCaml in France due to its French academic history? Is it something that is taught schools? Or is it still niche in France?

Enjoy!
Avatar de l’utilisateur
squishyProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 33.3%
 
Messages: 6
Inscription: 01 Aoû 2019, 04:10
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: OCaml on the TI 84+ CE

Message non lude Epharius » 11 Sep 2024, 08:07

Wow congrats! There aren't many people learning OCaml either in france, but some students learn it during their MPSI preparatory class (2 years after the Bac to prepare competitive exams for engineering schools).

But as far as I know the use cases are limited to academic purposes.
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 :favorite:
Image
Avatar de l’utilisateur
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 8.9%
 
Messages: 1182
Images: 4
Inscription: 08 Déc 2014, 17:38
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
Classe: Ensimag
GitHub: MathisLav

Re: OCaml on the TI 84+ CE

Message non lude Adriweb » 11 Sep 2024, 09:10

Indeed congratulations, this is very cool! I like the usual rotating 3D cube demo ;)

I've only heard about Ocaml, never learned it, I guess my school didn't really bothered with it, we only did C/C++/ObjC/Java/JS :P

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.: 80%
 
Messages: 14845
Images: 1133
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: OCaml on the TI 84+ CE

Message non lude Bobb » 14 Sep 2024, 23:06

I learned OCaml, and I know people who love this language. That's a very good project !

Tous mes programmes sont disponibles ici

↳ Testez mon simulateur Android sur Ti-83 Premium CE et / ou Édition Python
Jetez un coup d'oeil à mon langage de programmation interprété Neon.

Image
Avatar de l’utilisateur
BobbProgrammeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Prochain niv.: 0.7%
 
Messages: 322
Inscription: 19 Avr 2020, 12:37
Localisation: Morbihan
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes info

Re: OCaml on the TI 84+ CE

Message non lude redgl0w » 14 Sep 2024, 23:23

Epharius a écrit:some students learn it during their MPSI preparatory class

Don't forget about the MP2I/MPI student too ;) (but for both of these case almost all of the prepa high school's students have easy access to computer with ocaml, and during the contest the calculator are forbidden, so this reduce the usage of ocaml on calculator for them tbf).

Edit : I missunderstood the project, I though the project was an ocaml compiler on calculator (somehow like micropython) and not an ocaml compiler for calculator. That's why the previous message isn't that relevant, but this project is still interesting.
Image
Avatar de l’utilisateur
redgl0wVIP+
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Prochain niv.: 64.1%
 
Messages: 285
Images: 0
Inscription: 30 Oct 2019, 20:36
Localisation: Grenoble
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENSIMAG 1A
Twitter/X: Gl0wRed
GitHub: RedGl0w

Re: OCaml on the TI 84+ CE

Message non lude Bisam » 15 Sep 2024, 16:27

Unfortunately, the main lines of what is taught to these MPSI/MP2I/MP/MPI guys and girls isn't really useful on a calc. Not a thing about drawing. Even printing is not a purpose. They are taught that OCaml isn't really made for that.

Though, I encouraged one my student a few years ago who wrote an OCaml to C compiler on his computer (sort of a project for the year I teach in), and started to make a GUI for it to being used directly oncalc... but of course he hadn't enough time to finish it. He had a very good mark for his excellent work.
Avatar de l’utilisateur
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Prochain niv.: 69.6%
 
Messages: 5670
Inscription: 11 Mar 2008, 00:00
Localisation: Lyon
Genre: Homme
Calculatrice(s):
MyCalcs profile


Retourner vers Langages alternatifs

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité

-
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.
2928 utilisateurs:
>2904 invités
>16 membres
>8 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)