3 ms·
Building Your Own C Interpreter (1989)
- jgwil2 6y agoLooks like something went really wrong with the HTML in this article - almost every paragraph has link styling and leads to a 404 page when clicked on.
- wedowhatwedo 6y agohttps://archive.org/details/dr_dobbs_journal_vol_14/page/n527/mode/2up https://archive.org/details/dr_dobbs_journal_vol_14/page/n52... Page 528
- twh270 6y agoI feel very blessed to have been a subscriber to DDJ in the late 80s and early 90s. I learned about data structures and algorithms; multi-tasking; windowing systems; programming languages; operating system internals; and so much more. And it all came in bite-sized chunks (articles and listings) that could be understood in a few (or several) hours.
- jhbadger 6y agoThe author of that article also wrote an interesting book entitled "Born to Code in C" which deals with various small projects in C -- this interpreter, a text editor, a simple windowing system, etc. It is somewhat dated because it was targeting MS-DOS, but it was a fun read at the time. https://openlibrary.org/works/OL720035W/Born_to_Code_in_C?edition=borntocodeinc00schi_cm4 https://openlibrary.org/works/OL720035W/Born_to_Code_in_C?ed...
- justinlloyd 6y agoAround 1980-ish DrDobbs Journal published a series of articles on developing your own C compiler which lead me to writing my own C compiler for the BBC Micro in 6502 that became self-hosting on April 24th, 1982. It is thanks to DrDobbs that I learnt to program in C.