Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shybovycha/zig-samples

Sample code in Zig language
https://github.com/shybovycha/zig-samples

Last synced: about 1 month ago
JSON representation

Sample code in Zig language

Awesome Lists containing this project

README

        

# Zig samples

## Overview

This repo contains sample code in [Zig](https://ziglang.org/) language.

Samples are:

* singly-linked list

## Building

Within each sample directory, run

```bash
zig build
```

## Testing

Within the sample directory, run

```bash
zig test
```

For example

```bash
zig test 1-singly-linked-list/src/main.zig
```

## Running

```bash
zig run
```

For instance

```bash
zig run 1-singly-linked-list/src/main.zig
```