# std.zig Major Refactor · gitcafe/zig

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

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

Visibility: public

Requested revision: 779247ba114492a28287bc2026719091b7022e1d

Requested commit: 779247ba114492a28287bc2026719091b7022e1d

Commit: 779247ba114492a28287bc2026719091b7022e1d

Tree: b36eec7a6977f50582d6d934d9db446e6310ee76

Author: Jimmi Holst Christensen

Committer: Jimmi Holst Christensen

## Message

```
std.zig Major Refactor
* parser now parses expression like the C++ compiler does
* This makes initializers work
* Added control flow expression (only return is parsed)
* Added catch parsing (It doesn't quite work)
* The parse can now specify states as optional.
  * The parse will roll back on error if states are optional
  * This can be overriden by State.Required

```

## Parents

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

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