You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR organizes the Lua test suite for the Ferrous Lua VM implementation, focusing on features needed for Redis integration.
Changes
1. Organized Test Structure
Created logical directory structure:
tests/lua/basic/ - Basic language features
tests/lua/tables/ - Table operations
tests/lua/functions/ - Function and closure tests
tests/lua/control/ - Control flow tests
tests/lua/stdlib/ - Standard library tests
2. Cleaned Up Redundant Tests
Removed ~100 redundant and unused test files
Consolidated tests into focused, single-purpose files
Removed misleading tests that gave false indications of implementation state
3. Added Redis-Specific Tests
Added test for Redis-specific Lua functionality
Focused on features needed for Redis integration (removed tests for unused features like modules)
4. Documentation & Roadmap
Added README files explaining the purpose of each test directory
Created test_roadmap.md documenting implementation state and priorities
Added file headers that clarify test purpose and current implementation status
5. Improved Test Runner
Enhanced test_suite.sh with better output formatting
Added section summaries and clearer status reporting
Simplified test classification as pass/fail
This PR makes no changes to the VM implementation itself - it only organizes and cleans up the test suite to provide a clear view of the current implementation status and a roadmap for completing the Redis-focused Lua implementation.
seanward
changed the title
Register Window Implementation: Closure and Upvalue Support
Add Lua VM register usage conventions documentation
Jul 10, 2025
seanward
changed the title
Fix C function interface scope issues in Lua VM
Update register window implementation with error handling improvements
Jul 12, 2025
seanward
changed the title
Update register window implementation with error handling improvements
Fix TFORLOOP Implementation According to Lua 5.1 Spec
Jul 13, 2025
seanward
changed the title
Fix TFORLOOP Implementation According to Lua 5.1 Spec
Architectural Pivot: From Register Windows to Unified Stack Model
Jul 13, 2025
seanward
changed the title
Architectural Pivot: From Register Windows to Unified Stack Model
Implement Lua VM with Unified Stack Architecture
Jul 13, 2025
seanward
changed the title
Implement Lua VM with Unified Stack Architecture
Fix string interning, table field access, and stdlib initialization
Jul 15, 2025
seanward
changed the title
Fix string interning, table field access, and stdlib initialization
Fix register management and stack growth in Lua VM
Jul 16, 2025
seanward
changed the title
Enhance Lua VM documentation and implementation
Organize and clean up Lua test suite
Jul 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR organizes the Lua test suite for the Ferrous Lua VM implementation, focusing on features needed for Redis integration.
Changes
1. Organized Test Structure
tests/lua/basic/- Basic language featurestests/lua/tables/- Table operationstests/lua/functions/- Function and closure teststests/lua/control/- Control flow teststests/lua/stdlib/- Standard library tests2. Cleaned Up Redundant Tests
3. Added Redis-Specific Tests
4. Documentation & Roadmap
5. Improved Test Runner
This PR makes no changes to the VM implementation itself - it only organizes and cleans up the test suite to provide a clear view of the current implementation status and a roadmap for completing the Redis-focused Lua implementation.
Created by Maestro on behalf of Sean Ward