Andre Weissflog 199dc85b61 fix sokol-zig codegen for zig 0.15.0-dev.1034+bd97b6618 (callconv and removed Writer usage) 1 week ago
..
.gitignore 80a1919101 Add support for C3 to bindgen 5 months ago
README.md d53f5586e6 update bindgen url for sokol-d 3 months ago
gen_all.py 22a7548243 testing in CI/CD 3 weeks ago
gen_c3.py 8c4db43322 Update C3 language to version 0.7.2 1 month ago
gen_d.py a6cb14c1c8 gen_d: sokol_nuklear and sokol_args support 3 weeks ago
gen_ir.py 4daf0a26d2 gen_ir.py: fix last comment character being ommitted 6 months ago
gen_jai.py 578b37a612 bindgen: Include comments in Jai 6 months ago
gen_nim.py 62b6c44edb update emscripten webgl link flags 11 months ago
gen_odin.py 926a41e417 Generate Odin bindings that: (1) Are easier to use with web builds. (2) Compile cleanly with '-vet -strict-style' 6 months ago
gen_rust.py 798b54c544 gen_rust.py: param type overrides for sg_dispatch 5 months ago
gen_util.py cb11cc4465 gen_util.py: fix a regular expression warning on Windows 6 months ago
gen_zig.py 199dc85b61 fix sokol-zig codegen for zig 0.15.0-dev.1034+bd97b6618 (callconv and removed Writer usage) 1 week ago

README.md

Language Binding Generation Scripts

Updating the bindings

First make sure that clang and python3 are in the path:

> clang --version
> python3 --version

...on Windows I simply install those with scoop:

> scoop install llvm
> scoop install python

To update the Zig bindings:

> cd sokol/bindgen
> git clone https://github.com/floooh/sokol-zig
> git clone https://github.com/floooh/sokol-nim
> git clone https://github.com/floooh/sokol-odin
> git clone https://github.com/floooh/sokol-rust
> git clone https://github.com/kassane/sokol-d
> git clone https://github.com/colinbellino/sokol-jai
> git clone https://github.com/floooh/sokol-c3
> python3 gen_all.py

...and then to test and run Zig samples:

> cd sokol/bindgen/sokol-zig
> zig build run-clear
> zig build run-triangle
> zig build run-cube
...