changed ASCII diagram to mermaid chart
This commit is contained in:
parent
8d62ff9f94
commit
9bc0605cfa
44
README.md
44
README.md
|
@ -136,33 +136,23 @@ For creating the build pipeline build the Dockerfile in the root folder of this
|
||||||
Then the make targets are generated. Running `make release` will build gemstone from source in release mode.
|
Then the make targets are generated. Running `make release` will build gemstone from source in release mode.
|
||||||
The generated binaries can be found either in `bin/release/gsc` or `bin/debug/gsc` depending on the chosen target.
|
The generated binaries can be found either in `bin/release/gsc` or `bin/debug/gsc` depending on the chosen target.
|
||||||
The following graph visualizes the build pipeline:
|
The following graph visualizes the build pipeline:
|
||||||
```
|
```mermaid
|
||||||
SDK (environment)
|
flowchart LR
|
||||||
│
|
|
||||||
│ configure build environment
|
subgraph Docker
|
||||||
│ cmake, make, gcc, yacc, lex
|
alpine[Alpine Linux] --> sdk[SDK] --> dev[Devkit]
|
||||||
│
|
end
|
||||||
▼
|
|
||||||
Devkit (pipeline)
|
subgraph Build
|
||||||
│
|
dev --> |generate parser| bison[Bison]
|
||||||
│ create build pipeline
|
dev --> |generate lexer| flex[Flex]
|
||||||
│ create make targets
|
bison --> cc[GCC/Clang/MSVC]
|
||||||
▼
|
flex --> cc
|
||||||
Pipeline
|
cc --> debug
|
||||||
|
cc --> release
|
||||||
|
cc --> check
|
||||||
yacc (generate files) GCC (compile) Extra Source Files (src/*.c)
|
end
|
||||||
│ │ │
|
|
||||||
├─ parser.tab.h ─────────────►│◄────────────────────┘
|
|
||||||
│ │
|
|
||||||
└─ parser.tab.c ─────────────►│
|
|
||||||
│
|
|
||||||
lex (generate file) │
|
|
||||||
│ │
|
|
||||||
└─ lexer.ll.c ──────────────►│
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
gsc
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker images
|
## Docker images
|
||||||
|
|
Loading…
Reference in New Issue