mirror of
https://github.com/ziglang/zig.git
synced 2024-11-25 05:40:16 +00:00
Updated Glossary (markdown)
parent
bd6a76a359
commit
0dcad2cc49
14
Glossary.md
14
Glossary.md
@ -65,4 +65,16 @@ or source bytes. Exceptions include:
|
|||||||
|
|
||||||
Each Zig source file has a corresponding ZIR representation. You can use `zig ast-check -t example.zig` to see a textual representation of the ZIR for any Zig source file.
|
Each Zig source file has a corresponding ZIR representation. You can use `zig ast-check -t example.zig` to see a textual representation of the ZIR for any Zig source file.
|
||||||
|
|
||||||
See `src/Zir.zig`.
|
See `src/Zir.zig`.
|
||||||
|
|
||||||
|
### stage1
|
||||||
|
|
||||||
|
[These files](https://github.com/ziglang/zig/tree/master/stage1). There used to be a C++ implementation of Zig that was referred to as "stage1" but it was replaced by these files. They are used to [build Zig from a WebAssembly kernel](https://ziglang.org/news/goodbye-cpp/).
|
||||||
|
|
||||||
|
### stage2
|
||||||
|
|
||||||
|
[These files](https://github.com/ziglang/zig/tree/master/src). This is an implementation of Zig written in Zig.
|
||||||
|
|
||||||
|
### stage3
|
||||||
|
|
||||||
|
stage2 compiled with itself produces stage3. Compiling again with stage3 produces stage3 (input and output are the same).
|
Loading…
Reference in New Issue
Block a user