News for hackers. Stuff that matters.
Re:Books and papers every graduate student should read by WalterBright on Friday July 19, 2013 @03:07PM (#6072227)
> it is perfectly possible to read it cover to cover and still have very little idea about how to write an actual compiler.

I learned how compilers worked by studying a Pascal compiler written in BASIC that was published by BYTE back in the 70's. I thought the way it worked was a revelation, and completely magical.

Compiler books in general, however, tend to omit the messy details one has to deal with in building a production quality compiler.

Re:Books and papers every graduate student should read by DanBC on Friday July 19, 2013 @03:48PM (#6072494)
I've heard several people say good things about BYTE. It's a shame there's nothing similar today. (Yet another thing for my list of what to do when I have lots of money).

The Pascal compiler in BASIC was "Tiny Pascal"?

Someone might have some scans of the issues here (http://atariage.com/forums/topic/167235-byte-magazine/page__...)

Here's a PDF about TinyPascal (http://www.colorcomputerarchive.com/coco/Documents/Books/Pas...)

I find lots of links talking about it, but without downloads eg (http://www.vintage-computer.com/byte.shtml)

Here's some discussion of something called "Augusta" which is a 'tiny Ada'. (http://computer-programming-forum.com/44-ada/240dcc3af63e1fa...)

Re:Books and papers every graduate student should read by WalterBright on Friday July 19, 2013 @04:08PM (#6072627)
Yes, it was Tiny Pascal. I still probably have the issue buried in the garage somewhere.

I'm also partial to Creative Computing in the 1970's. It was full of fun artwork and silly games you could type in and run, and unabashedly optimistic editorial content. It's forgotten now, but it was very influential for me.

Re:Books and papers every graduate student should read by e12e on Friday July 19, 2013 @04:49PM (#6072890)
On a related note, I came across:

"Source Text of Compilers": http://exmortis.narod.ru/src_compilers_eng.html

Does not have Tiny Pascal - but appears to have a few other variants.

Re:Books and papers every graduate student should read by Someone on Friday July 19, 2013 @06:47PM (#6073456)
Re:Books and papers every graduate student should read by stiff on Friday July 19, 2013 @03:57PM (#6072550)
Completely agree on your last point. I have written a compiler for a small subset of something like Pascal for the JVM and it was among all other things a big exercise in software engineering. E.g. several times almost all the structure of my code became obsolete because a change in grammar or a need of doing different passes through the code / parse tree was required for a new feature in the language to work and that completely changed how everything else needed to work.