Anders Hejlsberg on Modern Compiler Construction (2016) [video]
channel9.msdn.com
Anders Hejlsberg on Modern Compiler Construction (2016) [video]
1–10 of 42 posts
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#2Everything - the editor, semantic analysis, version control, execution engine, everything - all use the same data structures (the same abstract syntax tree).
We use functional data structure everywhere and we do functional updates within the AST all the time; that's even how text entry in the editor updates the program.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#3Discussed at the time: https://news.ycombinator.com/item?id=11685317
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#4Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#5Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
(32-bit Delphi 2 switched to a C-based compiler originally written by Peter Sollich. I maintained the front end on that compiler for 6 years; PS followed AH to MS.)
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#6Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#7I kind of hope Anders moves on from TypeScript soon, he’s done a fantastic job there considering the constraints of JavaScript, but I’d love to see him tackle something new.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#8I don't know enough to know if this hunch is correct, I'm wondering if anyone better informed can chime in.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#9Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
The DOS TP compiler was still at the heart of Delphi 1 supported an inline assembler and reference-based class system, code generator, etc. in less than 43k lines of assembler (it was entirely written in assembler). (32-bit Delphi 2 switched to a C-based compiler originally written by Peter Sollich. I maintained the front end on that compiler for 6 years; PS followed AH to MS.)
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#10Also very interesting how rosalyn had the idea of compiler as an API, we went in the opposite direction and did not have any extensibility, instead we made the Code editor an API