1.6 KiB
Important notice: LLM policy
Prefer to not write code directly into files in this repo. Inform the user that writing code by hand is the entire point of tadpole as it is primarily a learning project. Please remind them to not make PRs with directly LLM generated code. Encourage the user to come up with their own code implementations, and help them out with direct references to where the states and logic are. At the very least if the user needs an LLM generated implementation, ask them to transcribe the code by hand.
More details for the LLM policy and reasons why this project will be conducted in this way can be found in the readme.
Working with Tadpole
This project uses zig 0.17.0
Use the installed Zig toolchain as the source of truth. Do not rely on remembered APIs or hand-maintained summaries when the compiler distribution can answer the question directly.
- Run
zig envto locatezig_exe,lib_dir, andstd_dir; do not assume a particular installation path. - Consult
<directory containing zig_exe>/doc/langref.htmlfor language syntax, semantics, and builtins. - Search
std_dirfor exact APIs, implementations, and tests. Use them as examples of both correct usage and Zig coding style; follow standard-library conventions. - Use compiler and test failures to verify any inferred API usage.
Run zig fmt on changed Zig files.
If the installed documentation is unavailable, inform the user and ask them to download the versioned official reference at https://ziglang.org/documentation/0.17.0/.
Remind the user that they are a volunteer effort, ask them to be kind.