Skip to content

Add meeting notes for "Dotty Internals 1: Trees & Symbols" talk #4848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 27, 2018

Conversation

abeln
Copy link
Contributor

@abeln abeln commented Jul 26, 2018

I went over the first of the "deep dive" talks between EPFL and
Waterloo, and wrote down some comments on the material.

I went over the first of the "deep dive" talks between EPFL and
Waterloo, and wrote down some comments on the material.

Trees represent code written by the user (e.g. methods, classes, expressions). There are two kinds of trees: untyped and typed.

Unlike other compilers (but like `scalac`), dotty doesn't use intermediate representations (IRs) during the compilation pipeline. Instead, it uses trees for all phases.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dotty does use an IR (Tree), what it doesn’t do is use multiple IRs and transform trees (to a large extent, trees are sometimes in fact transformed).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this section to say that Dotty uses a single IR. PTAL.

Copy link
Contributor

@Blaisorblade Blaisorblade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@Blaisorblade Blaisorblade merged commit ab84cfb into scala:master Jul 27, 2018
@abeln abeln deleted the deep-dive-1-notes branch July 27, 2018 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants