red-dragon
Multi-language code execution through a simple IR and deterministic VM with LLM repair / patching
What XERJ indexed
Snapshot
The whole repository at commit df34b18018 (2026-10-25). main is 22 commits ahead.
Selected work

“CALL operands keep their reference modification”. 7 files, 271 lines in tests, interpreter, cobol_asg.
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-28. 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
Example questions
- Where does red-dragon handle “CALL operands keep their reference modification”?
- What does interpreter do in red-dragon?
Inside the indexed corpus
- 2,844 files, 22.8 MB in total, about 8.2 KB per file.
- The selected commit changed 7 of those files (0.2%).
- Languages by size: Python 94.2%, Java 3.1%, HTML 0.7%, Pascal 0.2%, C# 0.1%.
- On GitHub since 2026-02-25, last push 2026-10-31, 3,248 commits on main.
- The pin is 22 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for avishek-sen-gupta/red-dragon on 2026-10-31, and the LICENSE file at commit df34b18018 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
avishek-sen-gupta (@avishek-sen-gupta) has 1 selected repository on the hub.
Using XERJ with red-dragon
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 2,844 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- 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 avishek-sen-gupta/red-dragon at the pinned commit and indexes it on your machine.
Search the GitHub repository avishek-sen-gupta/red-dragon with XERJ (https://hub.xerj.org/corpus/avishek-sen-gupta--red-dragon). 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/avishek-sen-gupta/red-dragon red-dragon && git -C red-dragon checkout df34b18018a8a1fc8616a5d7805183ac223bde34 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./red-dragon --url http://127.0.0.1:9200 --prefix red-dragon --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
avishek-sen-guptaAI, prompts and agents corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.