Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
fix(readme): Zig support
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Oct 6, 2024
1 parent faaf36d commit f8d5986
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README-pt.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Teoria dos Grafos e Complexidade Computacional

[![CC0](https://img.shields.io/badge/License-CC0-lightgrey.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
[![C code](https://img.shields.io/badge/code-C-blue)](./code/c)
[![Zig code](https://img.shields.io/badge/code-Zig-orange)](./code/zig)
[![Rodar no Repl.it](https://repl.it/badge/github/storopoli/grafos-complexidade)](https://repl.it/github/storopoli/grafos-complexidade)
[![Abrir no Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/storopoli/grafos-complexidade)

Expand Down Expand Up @@ -30,9 +32,15 @@
1. Divisão e Conquista; e
1. Algoritmos Gulosos.

## Exemplos de Código
A principal linguagem de programação usada para os exemplos é C.
Também há exemplos em Zig.
Confira-os nos diretórios `code/c/` e `code/zig/`, respectivamente.

## Dependências

- Compilador C/C++; e
- Compilador C/C++;
- (Opcional) compilador [Zig](https://ziglang.org); e
- [`typst`](https://typst.app) para os slides.

Os slides são gerados usando [Typst](https://typst.app) com GitHub Actions
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Graph Theory and Computational Complexity

[![CC0](https://img.shields.io/badge/License-CC0-lightgrey.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
[![C code](https://img.shields.io/badge/code-C-blue)](./code/c)
[![Zig code](https://img.shields.io/badge/code-Zig-orange)](./code/zig)
[![Run on Repl.it](https://repl.it/badge/github/storopoli/grafos-complexidade)](https://repl.it/github/storopoli/grafos-complexidade)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/storopoli/grafos-complexidade)

Expand Down Expand Up @@ -30,9 +32,16 @@
1. Divide and Conquer; and
1. Greedy Algorithms.

## Code Examples

The primary programming language used for examples is C.
Also there are [Zig](https://ziglang.org) examples.
Check them at `code/c/` and `code/zig/` directories, respectively.

## Dependencies

- C/C++ Compiler; and
- C/C++ Compiler;
- (Optional) [Zig](https://ziglang.org) compiler; and
- [`typst`](https://typst.app) for the slides.

The slides are generated using [Typst](https://typst.app) with GitHub Actions
Expand Down

0 comments on commit f8d5986

Please sign in to comment.