/** `src/compile.ts` with its comments blanked, so a scan reads code only. */ function codeOnly(text: string): string { return text.replace(/\/\*[\s\S]*?\*\//g, ' ').replace(/\/\/[^\n]*/g, ' '); } export { codeOnly };