r/WatchPeopleCode • u/whitlight_14 • Oct 20 '26
🐍 Python Day 4 of building my own programming language. Today I'm rebuilding the scanner without the book
Hey everyone! I'm back for Day 4 of building Jerison_Lang, my own interpreter.
Yesterday, I got the scanner working by following the book. It handles operators, comments, strings, numbers, identifiers, and keywords.
Today, I'm putting the book away and trying to rebuild the whole thing from scratch. I want to see how much I actually understand without relying on the book to tell me what to do next.
I'll be talking through my thought process as I go, explaining why I'm making certain decisions and working through anything that trips me up. This is more about making sure I understand what I've built than adding new features.
I'm still learning as I go, so it definitely won't be perfect. If you're into programming languages, interpreters, or just curious about how this stuff works under the hood, feel free to stop by!
Beginners are welcome, and I'm always happy to chat and answer questions as best I can.
Live now on Twitch: https://twitch.tv/Jerison_Parra