Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shybovycha/zig-samples
- Owner: shybovycha
- Created: 2022-11-22T02:52:34.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T09:57:35.000Z (over 1 year ago)
- Last Synced: 2024-11-03T21:37:41.462Z (3 months ago)
- Language: Zig
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```