MicroCS
Modern C# for microcontrollers: a tiny C# compiler + bytecode VM in portable C99 (16 KB RAM, 64 KB flash). ESP32, RP2040/RP2350, STM32, nRF52, Zephyr, Arduino. REPL, browser IDE, update scripts without reflashing
What XERJ indexed
Snapshot
The whole repository at commit 531185d3c3 (2026-10-08). main is 189 commits ahead.
Selected work

“Console.ReadLine on devices, Studio input while running, file reload,…”. 9 files, 198 lines in tests, tools, modules/shell.
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-09. 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
arduinobytecodec99compilercsharpdotnetembeddedembedded-systems
Example questions
- How does MicroCS implement arduino?
- What does tools do in MicroCS?
- Show the bytecode code in MicroCS.
Inside the indexed corpus
- 280 files, 2.7 MB in total, about 10.0 KB per file.
- The selected commit changed 9 of those files (3.2%).
- Languages by size: C 69.3%, JavaScript 12%, C# 7.6%, Python 4.7%, C++ 1.6%.
- On GitHub since 2026-10-05, last push 2026-10-29, 247 commits on main.
- The pin is 189 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for amir1387aht/MicroCS on 2026-10-31, and the LICENSE file at commit 531185d3c3 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Another (@amir1387aht) has 1 selected repository on the hub.
Using XERJ with MicroCS
- How do I run syntax-aware code search? MicroCS is tagged compiler on GitHub.
- XERJ vs ast-grep: syntax search and an index
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones amir1387aht/MicroCS at the pinned commit and indexes it on your machine.
Search the GitHub repository amir1387aht/MicroCS with XERJ (https://hub.xerj.org/corpus/amir1387aht--microcs). 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/amir1387aht/MicroCS MicroCS && git -C MicroCS checkout 531185d3c301510508ed8d9249ccc4775db885ef 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./MicroCS --url http://127.0.0.1:9200 --prefix microcs --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
AnotherWeb and frontend platform corporalibhydrogenavros2n-tlsPySudo/QuantoScriptWillyBilly06/LHDC-V5-Encoderjingoro2112/wrench
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.