No description
Find a file
2025-09-10 02:45:21 -03:00
res Add web build commands to build.sh 2024-09-21 01:20:47 -03:00
src Off-by-one 2024-09-23 15:18:24 -03:00
.clangd Flake 2025-04-02 01:00:12 -03:00
.gitignore Initial Commit 2024-09-20 01:50:56 -03:00
build.sh Remove a few lines that are unnecessary in the Nix environment 2025-05-07 19:09:41 -03:00
flake.lock Fix flake to use correct package 2025-04-20 00:20:07 -03:00
flake.nix Get around Read-Only issue by setting EM_CACHE to temp directory. 2025-09-10 02:45:21 -03:00
README.md Add link to online version of waves toy to README 2024-09-27 14:34:53 -03:00

C Toys

C is a fun little language to play around with. This is a collection of toy projects that may or may not be expanded in the future.

Compiling and running

To make cross-compilation painless, I'm using clang here. I wrote a little script that makes building these as simple as possible.

./build.sh run <project>
./build.sh run-windows <project>
./build.sh build <project>
./build.sh build-windows <project>
./build.sh build-all <project>

<project> is any .c file here, extension excluded. Example: ./build.sh run branch

Online Versions

I have published some of these to my website, they run on your browser, so you don't need to compile them yourself.