This repository contains a helper script, xlibre-v-converter.sh, for batch‑translating the XLibre Xserver C source tree into V language source files.
It is designed for safe, reproducible translation runs:
- Preserves the original directory structure in the output folder
- Avoids accidental
/home/...nesting bugs - Creates
.errlogs for any file that fails to translate - Safe to re‑run without breaking existing output
Before running the script, ensure you have:
- V compiler with
translate csupport
Install instructions - Bash (tested on GNU Bash 5.x)
- GNU coreutils (
realpath,mkdir,cp, etc.) - findutils (
findwith-printfsupport) - Sufficient disk space for both the original C source and translated
.vfiles
./xlibre-v-converter.sh /path/to/v /path/to/xlibre /path/to/output