Skip to content

Commit

Permalink
add Compiler diagram (#49893)
Browse files Browse the repository at this point in the history
This is inspired by the diagram presented by Lionel Zoubritzky
in his 2018 JuliaCon talk.
This gives a visual overview of what is happening in the compiler.
  • Loading branch information
sjkelly authored Jun 2, 2023
1 parent 0efb7c5 commit f09e46d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/src/devdocs/eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ function, and primitive function, before turning into the desired result (hopefu
Abstract Syntax Tree The AST is the digital representation of the code structure. In this form
the code has been tokenized for meaning so that it is more suitable for manipulation and execution.


![Diagram of the compiler flow](./img/compiler_diagram.png)

## Julia Execution

The 10,000 foot view of the whole process is as follows:
Expand Down
Binary file added doc/src/devdocs/img/compiler_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/src/devdocs/img/compiler_diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f09e46d

Please sign in to comment.