forge
Forge compiler, self-hosting bootstrap and language toolchain
What XERJ indexed
Snapshot
Only compiler, tests at commit 6bdc38dc7d (2026-10-16). main is 2 commits ahead.
Selected work

“index function, constant and local lookups per pass”. 15 files, 1,036 lines in tests, compiler.
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-31. 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-languageself-hostingsystems-programming
Example questions
- How does forge implement compiler?
- Where does forge handle “index function, constant and local lookups per pass”?
- What does compiler do in forge?
Inside the indexed corpus
- 148 files, 932.4 KB in total, about 6.3 KB per file.
- The selected commit changed 15 of those files (10.1%).
- Languages by size: C 65.3%, Python 31.4%, CMake 2.9%, Dockerfile 0.4%.
- On GitHub since 2026-07-21, last push 2026-10-20, 172 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 Apache-2.0 for forge-language/forge on 2026-10-31, and the LICENSE file at commit 6bdc38dc7d was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Jaemin Jeon (@Helloworld0822) has 1 selected repository on the hub.
Using XERJ with forge
- How do I run syntax-aware code search? forge 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.
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones forge-language/forge at the pinned commit and indexes it on your machine.
Search the GitHub repository forge-language/forge with XERJ (https://hub.xerj.org/corpus/forge-language--forge). 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/forge-language/forge forge && git -C forge checkout 6bdc38dc7d3189c147f114fd672e107d262d7e8c 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./forge --url http://127.0.0.1:9200 --prefix forge --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Jaemin JeonAPI design and specification corporacatala-law-langsveltevueloreste/makomichael-lehn/not-abcexec-software/exec-nil-framework
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.