June 25th 2026 - Things I Worked On
Hith programming language
I've always wanted to write a programming language and lately I've been in love with Lisp so I started writing a Lisp interpreter in Python. I know there are a few resources and write ups on how to do this but I decided to give it a go without looking at them. I'm trying to see if I can figure out these concepts on my own from first principles.
As of today I've got the lexer, parser, and math functions working. I decided to call the language Hith because the interpreter is written in Python and hith sounds like a snake hissing with a lisp. You can find the repo here.
An example of how the language works:
>>> (+ 1 2) 3 >>> (- 10 3) 7 >>> (* 4 5) 20 >>> (/ 20 4) 5.0 >>> (+ 1 (+ 2 3)) 6