Get the latest tech news

Compiling OCaml to the TI-84 CE Calculator


In this post, I’ll explain how I compiled an OCaml program to run on a TI-84+ CE calculator. 🐪

All of these backends need a runtime that includes a garbage collector and native functions to do useful things like print to stdout and read files. Highly portable Interacts well with the OCaml build system Small – The generated code and runtime should fit in the 256k RAM on the TI-84+ CE We can ergonomically write a spinning cube OCaml program for the calculator with LSP support and dune build commands working out of the box.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ocaml

ocaml

Photo of ti-84 ce calculator

ti-84 ce calculator

Related news:

News photo

OCaml's Wings for Machine Learning

News photo

A mechanically verified garbage collector for OCaml [pdf]

News photo

A better build system for OCaml