Skip to content

Commit

Permalink
update: Structure
Browse files Browse the repository at this point in the history
  • Loading branch information
DrEden33773 committed Dec 21, 2023
1 parent e496397 commit 7c8faab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"rint",
"rlox",
"Squr",
"stackrel",
"STON",
"unsync",
"uper",
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ This is a simple `Rust` implementation of `PL/0` compiler.
<digit> -> 0 | 1 | ... | 9
```

## Structure

$$
\text{<Source Code>} \Longrightarrow \text{Lexer} \stackrel{Token}{\Longrightarrow} \text{Parser} \stackrel{AST}{\Longrightarrow} \text{CodeGen} \Longrightarrow \text{<PCode>} \stackrel{\textbf{VM}}{\longrightarrow} \set{\text{Result}}
$$

| Part | Analysis List |
| :-----: | :-----------------: |
| Lexer | `Lexical Analysis` |
| Parser | `Syntax Analysis` |
| CodeGen | `Semantic Analysis` |

## Overview

### Lexer/Tokenizer
Expand Down

0 comments on commit 7c8faab

Please sign in to comment.