Files
compiler-explorer/etc/scripts
Partouf 6ac53d1cdd algol68: switch to ignoreCase, fix CodeQL escape bug
Per Monarch docs, the proper way to make a tokenizer case-insensitive
is `ignoreCase: true` at the language level — flags on individual regex
literals appear to be ignored by Monarch's parser. Switched the algol68
mode and the converter (`-i`) to emit `ignoreCase: true`, dropped the
redundant `/i` suffixes.

Also fixed a CodeQL warning in tm-to-monarch's regex literal escaping:
the previous one-liner `re.replace(/\//g, '\\/')` didn't account for
backslashes, so inputs containing `\/` would emit malformed literals.
Replaced with a char-by-char walk that preserves escape sequences and
only escapes truly unescaped slashes; warns on stray trailing backslash.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 12:37:37 +02:00
..
2026-01-25 16:50:12 -05:00
2025-10-07 16:50:14 -05:00
2024-12-10 00:18:46 +09:00
2025-02-19 10:41:42 -06:00