Skip to content

docs: add validator demo GIF to README - #7

Merged
SmailG merged 1 commit into
mainfrom
docs/readme-demo-gif
Nov 10, 2026
Merged

SmailG merged 1 commit into
mainfrom
docs/readme-demo-gif

Conversation

@SmailG

@SmailG SmailG commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Adds a short terminal demo of the validator to the README.

  • docs/assets/plc-demo.gif (800×480, ~26 s, 147 KB), embedded directly under ## The validator.

What it shows: FB_Pump has an IF … ELSIF block with no END_IF. python3 plc-programming/scripts/plc_validate.py pump.st reports error ST002: IF opened at line 10 is not closed before END_FUNCTION_BLOCK (exit 1). The AI edit adds END_IF; and is shown as a diff -u. The same command then reports 0 errors (exit 0).

Recorded against v0.2.0. Both validator runs are real output. The fix step is the AI edit shown as a diff (scripted in the tape), not an auto-fix command; the plugin has none.

README change is one image line; nothing else is touched. python3 -m unittest discover -s tests: 276 tests OK.

Open in Web Open in Cursor 

Adds docs/assets/plc-demo.gif (recorded against v0.2.0 with vhs) under '## The validator', plus the vhs tape that re-records it.
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@SmailG
SmailG merged commit 5f10194 into main Nov 10, 2026
2 of 3 checks passed
@SmailG
SmailG deleted the docs/readme-demo-gif branch November 10, 2026 05:59
@SmailG SmailG mentioned this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant