chastelib
chastelib is a C library for managing integers in radix 2 to 36. It consists of 4 core functions which are well documented with example programs
What XERJ indexed
Snapshot
The whole repository at commit ff94626b06 (2026-10-08). main is 2 commits ahead.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-18. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
Example questions
- Where does chastelib handle “chastelib update”?
- What does c do in chastelib?
Inside the indexed corpus
- 217 files, 1.3 MB in total, about 6.1 KB per file.
- The selected commit changed 11 of those files (5.1%).
- Languages by size: C 50.5%, C++ 44.5%, Makefile 1.5%, Java 1%, Pascal 0.9%.
- On GitHub since 2026-01-08, last push 2026-10-23, 48 commits on main.
- The pin is 2 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for chastitywhiterose/chastelib on 2026-10-31, and the LICENSE file at commit ff94626b06 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Chastity White Rose (@chastitywhiterose) has 1 selected repository on the hub.
Using XERJ with chastelib
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones chastitywhiterose/chastelib at the pinned commit and indexes it on your machine.
Search the GitHub repository chastitywhiterose/chastelib with XERJ (https://hub.xerj.org/corpus/chastitywhiterose--chastelib). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/chastitywhiterose/chastelib chastelib && git -C chastelib checkout ff94626b06565384e25b42c7a640011a2728c250 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./chastelib --url http://127.0.0.1:9200 --prefix chastelib --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
Chastity White RoseAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.
