Skip to content

Comments

Remove trivial comment-only lines across asm, sec, stdlib and VM headers#9

Closed
rafael84 wants to merge 2 commits intomainfrom
codex/remove-trivial-comments-from-codebase
Closed

Remove trivial comment-only lines across asm, sec, stdlib and VM headers#9
rafael84 wants to merge 2 commits intomainfrom
codex/remove-trivial-comments-from-codebase

Conversation

@rafael84
Copy link
Owner

@rafael84 rafael84 commented Feb 4, 2026

Motivation

  • Remove noisy, trivial comment-only separator lines (lines containing only ; or // or repeating divider characters) to clean up source and documentation across assembler examples, stdlib includes, and VM headers.

Description

  • Stripped standalone comment-only lines from tutorial assemblies in asm/ and sec/, from stdlib/asm/tiny16.inc, and from VM headers and the assembler entrypoint, touching 58 files with ~197 deletions.
  • The change is purely cosmetic: only lines matching the trivial-comment pattern were removed and meaningful inline comments and documentation blocks were preserved.
  • The cleanup was performed by a scripted sweep that removes lines matching ^\s*(//|;)\s*$ and similar divider lines.

Testing

  • Executed the cleanup script which reported updated 58 files and produced the set of modified files as expected.
  • Verified there are no remaining trivial comment-only lines by running rg against the affected directories, which returned no matches.
  • Ran make format to apply formatting, but it failed because clang-format reported: "Configuration file(s) do(es) not support C++", so formatting did not complete successfully.

Codex Task

@rafael84 rafael84 closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant