News for hackers. Stuff that matters.
Re:An Incremental Approach to Compiler Construction (2006) [... by dang on Friday November 05, 2021 @03:38PM (#29123842)
Past threads:

An Incremental Approach to Compiler Construction (2006) [pdf] - https://news.ycombinator.com/item?id=20577660 - July 2019 (5 comments)

An Incremental Approach to Compiler Construction (2006) [pdf] - https://news.ycombinator.com/item?id=13207441 - Dec 2016 (19 comments)

An Incremental Approach to Compiler Construction (2006) [pdf] - https://news.ycombinator.com/item?id=10785164 - Dec 2015 (13 comments)

Writing a Compiler in 24 Small Steps [pdf] - https://news.ycombinator.com/item?id=1652623 - Sept 2010 (16 comments)

An Incremental Approach to Compiler Construction - https://news.ycombinator.com/item?id=1408241 - June 2010 (18 comments)

Other mentions:

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Re:An Incremental Approach to Compiler Construction (2006) [... by throw10920 on Friday November 05, 2021 @03:42PM (#29123897)
This is an excellent introduction to slowly building a compiler for a Scheme-like language. The paper itself doesn't contain as much detail as the supplementary material on the author's site, though (which is dead now but you can still find on the Wayback Machine[1]).

[1] https://web.archive.org/web/20100310151310/http://www.cs.ind...

Re:An Incremental Approach to Compiler Construction (2006) [... by garren on Friday November 05, 2021 @05:34PM (#29124957)
The tutorial, source, and tests can be found in the GitHub repo below as well:

https://github.com/namin/inc

(Not the author’s repo, just consolidates some of the material)

Re:An Incremental Approach to Compiler Construction (2006) [... by jcookeak on Friday November 05, 2021 @07:10PM (#29125717)
I took the IU compilers course as an undergrad and can easily say it was my favorite course. If anyone is interested, here is a link to the textbook which will cover this papers content in much finer detail:

https://github.com/IUCompilerCourse/Essentials-of-Compilatio...

Re:An Incremental Approach to Compiler Construction (2006) [... by natded on Saturday November 06, 2021 @12:51AM (#29127627)
I haven't 'done this course' as I am no student; but I did read through the book and did most of the exercises. Very good and I always recommend it when it comes to compilers. Helps you think in types / languages.
Re:An Incremental Approach to Compiler Construction (2006) [... by vrotaru on Saturday November 06, 2021 @02:27AM (#29127976)
http://www.cs.umd.edu/class/fall2021/cmsc430/index.html

Check this: Based on ideas from the paper above quite accessible.

Re:An Incremental Approach to Compiler Construction (2006) [... by amelius on Friday November 05, 2021 @06:20PM (#29125327)
I'd be interested as well in "An Approach to Incremental Compiler Construction". I.e., a compiler that can quickly compile subsequent versions after a series of changes has been made to the source files.
Re:An Incremental Approach to Compiler Construction (2006) [... by moonchild on Saturday November 06, 2021 @01:48AM (#29127850)
Take a look at common lisp.
Re:An Incremental Approach to Compiler Construction (2006) [... by delian66 on Saturday November 06, 2021 @06:53AM (#29129147)
Checkout https://github.com/vlang/v/ .

Recompiling the V compiler itself from scratch (V is written in V), after you make a change to its source, takes ~2s.

Re:An Incremental Approach to Compiler Construction (2006) [... by tekknolagi on Saturday November 06, 2021 @02:08AM (#29127909)
I got partway through this, but in C: https://bernsteinbear.com/blog/compiling-a-lisp-0/