π
<-
Chat plein-écran
[^]

OCaml on the TI 84+ CE

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

OCaml on the TI 84+ CE

Unread postby 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!
User avatar
squishyProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Level up: 33.3%
 
Posts: 6
Joined: 01 Aug 2019, 04:10
Gender: Not specified
Calculator(s):
MyCalcs profile

Online

Re: OCaml on the TI 84+ CE

Unread postby 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
User avatar
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 7.9%
 
Posts: 1160
Images: 4
Joined: 08 Dec 2014, 17:38
Gender: Not specified
Calculator(s):
MyCalcs profile
Class: Ensimag
GitHub: MathisLav

Re: OCaml on the TI 84+ CE

Unread postby 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
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.8%
 
Posts: 14725
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: OCaml on the TI 84+ CE

Unread postby 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
User avatar
BobbProgrammeur
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 99.5%
 
Posts: 313
Joined: 19 Apr 2020, 12:37
Location: Morbihan
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes info

Re: OCaml on the TI 84+ CE

Unread postby redgl0w » 14 Sep 2024, 23:23

Epharius wrote: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
User avatar
redgl0wVIP+
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 61.7%
 
Posts: 284
Images: 0
Joined: 30 Oct 2019, 20:36
Location: Grenoble
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENSIMAG 1A
Twitter: Gl0wRed
GitHub: RedGl0w

Re: OCaml on the TI 84+ CE

Unread postby 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.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile


Return to Langages alternatifs

Who is online

Users browsing this forum: No registered users and 3 guests

-
Search
-
Social TI-Planet
-
Featured topics
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.
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
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.
1091 utilisateurs:
>1075 invités
>8 membres
>8 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)