zig icon indicating copy to clipboard operation
zig copied to clipboard

Exercism exercises in Zig.

Results 39 zig issues
Sort by recently updated
recently updated
newest added

I've already got a local branch for this. I'll get around to creating the PRs.

So we can define the Zig version in the CI workflows. Possibly adding a matrix, running both `master` and release, allowing `master` to fail.

In Exercism v3, we're introducing a new (optional) tool: the [representer](https://github.com/exercism/docs/blob/main/building/tooling/representers/README.md). The goal of the representer is to take a solution and returning a representation, which is an extraction of...

x:size/massive
x:type/coding
x:module/representer
x:knowledge/advanced
x:action/create

For example, for `binary-search`, the Zig track currently requires the user to return an error when the input is empty: https://github.com/exercism/zig/blob/c5ece12152f8086e77db85f825d9d673f0cda1af/exercises/practice/binary-search/test_binary_search.zig#L56-L58 or the value is not found: https://github.com/exercism/zig/blob/c5ece12152f8086e77db85f825d9d673f0cda1af/exercises/practice/binary-search/test_binary_search.zig#L44-L46 But we...

For example, even though every exercise will use functions, not every exercise should have `functions` in its `prerequisites`. ```text The following concepts exist in the `practices` array of a Practice...

As discussed in [this](https://forum.exercism.org/t/zig-exercises-tdd-approach/4435) post, this PR * adds a small `skipTest()` function wrapping the `SkipTestError` error and * adds a call to `skipTest()` to the top of each test

We could detect problems such as the one solved by https://github.com/exercism/zig/pull/142. As a first step, consider running `zig fmt --ast-check` on everything.

In Exercism v3, we are making increased use of our v2 [analyzers](https://github.com/exercism/docs/blob/main/building/tooling/analyzers/README.md). Analyzers automatically assess student's submissions and provide mentor-style commentary. They can be used to catch common mistakes and/or...

x:size/massive
x:type/coding
x:knowledge/advanced
x:module/analyzer
x:action/create