Cyrus
Cyrus is a high-performance systems programming language with explicit syntax and semantics, minimal abstraction and runtime, and manual memory management
What XERJ indexed
Snapshot
Only toolchain/stage1/src at commit 4a17d50872 (2026-10-08). main is 14 commits ahead.
Selected work

“now all switch statements used in cyrus sources are exhaustive”. 20 files, 1,048 lines in toolchain.
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-10. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
compilerprogramming-languagecyrus-langclangllvmcompiler-designsystems-language
Example questions
- How does Cyrus implement compiler?
- Where does Cyrus handle “now all switch statements used in cyrus sources are exhaustive”?
- What does toolchain do in Cyrus?
Inside the indexed corpus
- 918 files, 3.5 MB in total, about 3.9 KB per file.
- The selected commit changed 20 of those files (2.2%).
- Languages by size: Rust 95%, Python 3.5%, C++ 0.8%, Nix 0.3%, C 0.2%.
- On GitHub since 2024-12-09, last push 2026-10-30, 2,492 commits on main.
- The pin is 14 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for cyrus-lang/Cyrus on 2026-10-31, and the LICENSE file at commit 4a17d50872 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
[ Taha. Dostifam ] (@tahadostifam) has 1 selected repository on the hub.
Using XERJ with Cyrus
- How do I run syntax-aware code search? Cyrus is tagged compiler on GitHub.
- XERJ vs ast-grep: syntax search and an index
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones cyrus-lang/Cyrus at the pinned commit and indexes it on your machine.
Search the GitHub repository cyrus-lang/Cyrus with XERJ (https://hub.xerj.org/corpus/cyrus-lang--cyrus). 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/cyrus-lang/Cyrus Cyrus && git -C Cyrus checkout 4a17d508724a17c22ec449db48b61962f0c2028b 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./Cyrus --url http://127.0.0.1:9200 --prefix cyrus --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: MIT. Keep the copyright notice and credit the authors.
Related
[ Taha. Dostifam ]API design and specification corporacatala-law-langrspackoxctelvax/telvaxmealet/zeenCerune-Lang/Cerune
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.