Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 3, 2026

Summary

  • Add format module to bytecode with shared formatting utilities
  • Provides column layout constants, symbol formatting, and line building
  • Will be used by dump and trace for consistent output formatting

Contents

  • Symbol struct for 5-char navigation/status symbols (▽, ▷, △, ●, ○, etc.)
  • nav_symbol() / nav_symbol_epsilon() for navigation display
  • cols module with column width constants
  • trace module with trace-specific symbols
  • LineBuilder for consistent line formatting
  • format_effect() for effect operation display
  • Utility functions: width_for_count, truncate_text, superscript

Test plan

  • cargo check passes
  • Module tests pass

@zharinov zharinov enabled auto-merge (squash) January 3, 2026 11:55
@zharinov zharinov force-pushed the refactor/bytecode-format branch from bc5c4f0 to bd69383 Compare January 3, 2026 11:57
@zharinov zharinov merged commit 710be86 into master Jan 3, 2026
4 checks passed
@zharinov zharinov deleted the refactor/bytecode-format branch January 3, 2026 11:59
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.

2 participants