Match Brainfuck compiler output in C89 port

This commit is contained in:
Hermes Agent
2026-08-17 23:32:22 +00:00
parent c64064172c
commit 0bb59bbb6d
3 changed files with 105 additions and 19 deletions
+5 -2
View File
@@ -44,7 +44,9 @@ Notes:
override the default `$HOME/.peppermint/store.json` location.
- `version` prints `Peppermint Version 0.0.1[platform]`.
- `bf` is a separate Brainfuck runner. With `--compile=true`, it also writes the
original Long-language-style output to `dist/test.long`.
original Long-language-style output to `dist/test.long`. The compiler follows
the upstream static conversion pass: it records cell values observed at `.`
instructions and ignores Brainfuck loop/control execution while compiling.
## Language behavior
@@ -89,4 +91,5 @@ portable tab-separated project store at `$HOME/.peppermint/store.json` (or
The test script rebuilds with strict C89 flags, then checks legacy direct-file
execution, command dispatch, expressions, relational operators, mutable vs.
constant assignment, builtins, project init/config/list/run behavior, version
output, and the Brainfuck runner/compiler command.
output, and the Brainfuck runner/compiler command including static Long output
semantics.