4 ms·
I learned all about parsing, lexing, and ASTs. I did that by writing a toy language, then creating a BASIC interpreter in golang. Beyond that I did more messi
by stevekemp 8y ago
I learned all about parsing, lexing, and ASTs. I did that by writing a toy language, then creating a BASIC interpreter in golang.
Beyond that I did more messing about with AWS, and found that while I knew a fair bit theres a lot of devil in the details ..
Regardless this was a good year, the previous year I'd started working with ESP8266 & Arduino devices. So it was nice to get back into pure-software development, instead of hardware. (Hardware is rewarding, challenging, and a lot of fun. But I found waiting weeks/months for parts to arrive a bit of a pain.)
- hellovic 8y agoDid you use book/online courses/tutorial for learning parsing, lexing etc.
- stevekemp 8y agoI read this ebook: https://interpreterbook.com/ https://interpreterbook.com/ That walks you through the process of creating a simple language. My version has since been extended a fair bit: https://github.com/skx/monkey https://github.com/skx/monkey The writing is clear, and I was familiar with the broad concepts already. (In the past I've written toy interpreters for FORTH, and similar simple languages, but usually in an adhoc fashion.)
- hellovic 8y agoThanks. Let me take a look.