ali30mhi

ali30mhi, student developer

I build small tools from scratch and write up how they work.

So far: a Forth interpreter in a single C file, and a live 3D earthquake globe that runs without a backend.

./forth
forth> 3 4
  <2> [ 3 4 ]
forth> + dup
  <2> [ 7 7 ]

A small JavaScript sketch of my Forth REPL, so you can try it here. The real one is a single C file.

Projects

Live earthquake globe

JavaScript, globe.gl, three.js, service worker

Every earthquake USGS reports, shown on a 3D globe and refreshed each minute. It replays the last day or month, estimates how strong the shaking was where you are, and keeps working offline. No backend and no API key.

Forth interpreter in C

C11, no dependencies

One C file. Each line is compiled to a set of twelve opcodes and run on a small virtual machine. The REPL shows the stack after every command, and a turtle draws in the terminal with braille characters.

All repositories

Writing

Skills

Languages
C, Python, Go, Java, JavaScript, HTML/CSS
Tools
Git, Linux, Qt / PySide6, three.js
Interests
Interpreters and virtual machines, live data on maps, embedded sensors

Get in touch

Open an issue on any of my repositories, or find me on GitHub.

Find me on GitHub