Skip to content

v0.15.0 - Word Shadowing Implementation

Latest

Choose a tag to compare

@kirisaki kirisaki released this 06 Nov 11:51
· 7 commits to main since this release

What's New

  • Word Shadowing: Implement backward search for Forth word definitions
    • vm_find_word() searches from newest to oldest definitions
    • Newer definitions shadow older ones with the same name
    • Fundamental Forth feature for interactive development
  • Comprehensive Tests: Added 12 unit tests for word shadowing semantics
  • RAII Test Fixture: Prevent memory leaks in tests with automatic cleanup

Bug Fixes

  • Fix AddressSanitizer memory leak in test_word_shadowing with VmFixture

Testing

  • All 12 tests passing (100%)
  • No memory leaks detected with AddressSanitizer
  • Hardware integration tests on ESP32-C6

🤖 Generated with Claude Code