Hacker News new | past | comments | ask | show | jobs | submit login
Building Your Own C Interpreter (1989) (drdobbs.com)
52 points by elvis70 on Sept 18, 2020 | hide | past | favorite | 7 comments



I 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.


Looks 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.


Here is a retranscription of the article without the qwirks: https://impythonist.wordpress.com/2014/01/28/building-your-o...


Dr Dobbs' website has been broken like that for several years.



Around 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.


The 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?ed...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: