refactor: keep Claro in one strict C89 source file

This commit is contained in:
Hermes Agent
2026-10-20 16:12:26 +00:00
parent dd7e8b8b20
commit 8ea2f772cd
59 changed files with 8353 additions and 1289 deletions
@@ -18,7 +18,7 @@ def main() -> int:
script = tmp_path / "run_command_expressions.claro"
script.write_text('RUN COMMAND "true" AS output\n' * 2000, encoding="utf-8")
build = subprocess.run(
["gcc", "-std=c99", "-O0", "-g", "-fsanitize=address,undefined",
["gcc", "-std=c89", "-pedantic-errors", "-Werror=implicit-function-declaration", "-O0", "-g", "-fsanitize=address,undefined",
"src/claro.c", "-o", str(binary), "-lm"],
cwd=ROOT, text=True, capture_output=True,
)