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]).
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:
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 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.
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...
[1] https://web.archive.org/web/20100310151310/http://www.cs.ind...
https://github.com/namin/inc
(Not the author’s repo, just consolidates some of the material)
https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
Check this: Based on ideas from the paper above quite accessible.
Recompiling the V compiler itself from scratch (V is written in V), after you make a change to its source, takes ~2s.