From 9c9e5a1f11cea56a756b9a07b669b36af3da7636 Mon Sep 17 00:00:00 2001 From: multipleof4 <179018396+multipleof4@users.noreply.github.com> Date: Fri, 26 Sep 2025 08:16:03 +0000 Subject: [PATCH] Docs: Update test results --- test-results.md | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 test-results.md diff --git a/test-results.md b/test-results.md new file mode 100644 index 0000000..c0a630f --- /dev/null +++ b/test-results.md @@ -0,0 +1,54 @@ +# Hi Language Test Results + +**Run at:** 2025-09-26T08:16:03.416Z + +| Test Case | Status | +|-----------|--------| +| `declarations.hi` | ❌ FAIL | +| `simple_io.hi` | ✅ PASS | + +--- + +## Failures + +### `declarations.hi` + +**Reason:** Transpilation or execution error + +**Error:** +``` +Command failed: node +[stdin]:4 +let config = {; + ^ + +SyntaxError: Unexpected token ';' + at makeContextifyScript (node:internal/vm:185:14) + at node:internal/process/execution:107:22 + at [stdin]-wrapper:6:24 + at runScript (node:internal/process/execution:101:62) + at evalScript (node:internal/process/execution:133:3) + at node:internal/main/eval_stdin:32:5 + at Socket. (node:internal/process/execution:234:5) + at Socket.emit (node:events:536:35) + at endReadableNT (node:internal/streams/readable:1698:12) + at process.processTicksAndRejections (node:internal/process/task_queues:82:21) + +Node.js v20.19.5 + +``` + +**Generated JavaScript:** +```js +// This test will fail with the current regex transpiler +// because it does not handle multi-line constructs. + +let config = {; + version: "0.1" +} +console.log(config.version); + +``` + +--- +