News for hackers. Stuff that matters.
Re:An Incremental Approach to Compiler Construction (2006) [... by juliangamble on Wednesday December 23, 2015 @05:51PM (#10786135)
Nada Amin, who gave the keynote at Strange Loop in 2014 "Programming Should Eat Itself" https://www.youtube.com/watch?v=SrKj4hYic5A

has worked through the implementation https://github.com/namin/inc

and provided the corresponding workshop documentation in her github account. https://github.com/namin/inc/blob/master/docs/tutorial.pdf

She's also been involved in contributing to the next generation Scala compiler (Dotty).

Re:An Incremental Approach to Compiler Construction (2006) [... by fao_ on Wednesday December 23, 2015 @03:02PM (#10785297)
Re:An Incremental Approach to Compiler Construction (2006) [... by amelius on Wednesday December 23, 2015 @04:12PM (#10785681)
What I'd like to see is "An Approach to Incremental Compiler Construction", i.e., a compiler that outputs code which evaluates its input incrementally wrt. previous inputs.
Re:An Incremental Approach to Compiler Construction (2006) [... by emptybits on Thursday December 24, 2015 @01:31AM (#10787353)
Perhaps a nanopass framework is of interest? "a compiler as a collection of many fine-grained passes, each of which performs a single task" http://www.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf
Re:An Incremental Approach to Compiler Construction (2006) [... by nfoz on Wednesday December 23, 2015 @04:40PM (#10785831)
The best example I know of is Papa Carlo: http://lakhin.com/projects/papa-carlo/

I had been working on an incremental-compiler-generator in C++, but suspended the project recently because it's a lot of work.

Re:An Incremental Approach to Compiler Construction (2006) [... by seanmcdirmid on Wednesday December 23, 2015 @05:08PM (#10785977)
Or how about a live programming environment that incrementally recomputes a new programming execution based on incremental changes to the program's code. Anyways, I've been working on this problem for a few years now...the first step is incremental compilation.
Re:An Incremental Approach to Compiler Construction (2006) [... by vive-la-liberte on Wednesday December 23, 2015 @06:10PM (#10786214)
You're probably aware of Smalltalk already but in case you're not, I think it might be of interest to you. There's an open source implementation of Smalltalk called Pharo. They have a few screencasts and recordings of presentations at their website. http://pharo.org/documentation

Edit: Checked your profile. Going to say that yes, you almost certainly know about Smalltalk -- far more than do I.

Re:An Incremental Approach to Compiler Construction (2006) [... by cbsmith on Thursday December 24, 2015 @01:16AM (#10787323)
There is a lot to be said for a language where a single edit somewhere in a program can't have snowballing effects across the entire codebase. In practice, that means deferring logic to the runtime...
Re:An Incremental Approach to Compiler Construction (2006) [... by seanmcdirmid on Wednesday December 23, 2015 @10:17PM (#10786909)
I would argue this a lot with people like Gilad Bracha :), but ya. Incremental compilation is pretty trivial in Smalltalk though given the lack of a static type system.
Re:An Incremental Approach to Compiler Construction (2006) [... by cbsmith on Thursday December 24, 2015 @01:12AM (#10787315)
...and no explicit native macro system either (lot can be laid atop it of course...).
Re:An Incremental Approach to Compiler Construction (2006) [... by sitkack on Thursday December 24, 2015 @09:48AM (#10788309)
Using purely functional data structures and an AST walking interpreter one could make this fairly compact.
Re:An Incremental Approach to Compiler Construction (2006) [... by sepeth on Wednesday December 23, 2015 @06:26PM (#10786273)
A bit old and it is in Pascal, but still, Let's Build a Compiler by Jack Crenshaw is also fun to read:

http://compilers.iecc.com/crenshaw/

Re:An Incremental Approach to Compiler Construction (2006) [... by diginux on Wednesday December 23, 2015 @03:59PM (#10785616)
A friend and I used this paper as part of an independent study in compilers, it was a lot of fun and I think strikes the right balance of concepts core to compiler construction. I highly recommend it.