Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
astrophysik authored Apr 3, 2022
1 parent e5bac3b commit 80fb94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The work of the compiler is divided into 4 stages:

*Lexer* uses class ***CharSource*** as a wrapper over the input file. It works in ***parallel*** with *Parser*. *Lexer* put the received tokens of one command into a ***CommandPipe***. *Parser* takes ready-made tokens from there and adds in *AST*. The finished *AST* is converted into c++ code using a *Translator*. In order for the translated code to compile correctly, the ***mixed*** class is added to it. The description of which in the string type lies in the ***LIB*** constant. In case of an error in the code, the ***CompileException*** error is thrown.

Approximate scheme of class *Compiler*
Approximate scheme of work
```mermaid
flowchart LR
direction TB
Expand Down

0 comments on commit 80fb94f

Please sign in to comment.