# stage2: hook up Zig AST to ZIR · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b4eac0414a01b1096e8dd7e89455db88f19789cf)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b4eac0414a01b1096e8dd7e89455db88f19789cf

Requested commit: b4eac0414a01b1096e8dd7e89455db88f19789cf

Commit: b4eac0414a01b1096e8dd7e89455db88f19789cf

Tree: 288fe00b15970f15ca7ff7a0860c13646b582d15

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: hook up Zig AST to ZIR

 * Introduce the concept of anonymous Decls
 * Primitive Hello, World with inline asm works
 * There is still an unsolved problem of how to manage ZIR instructions
   memory when generating from AST. Currently it leaks.

```

## Parents

- [4a387996311a025a021409f08a61bab9e9885987](https://git.cafe/gitcafe/zig/commit/4a387996311a025a021409f08a61bab9e9885987?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b4eac0414a01b1096e8dd7e89455db88f19789cf?format=markdown)
