Commit Graph
4 Commits
Author SHA1 Message Date
Josh Goebel aaca62617c fix: add leading space to format lines and update source paths in metrics output
- Prepend a space to C_FORMAT_LINE and WREN_FORMAT_LINE for consistent column alignment
- Add hr() helper function to print horizontal separators for readability
- Change C metrics label from empty string to "C" and WREN label from empty to "WREN"
- Update source directories from "src/vm" and "src/optional" to "deps/wren/src/vm" and "deps/wren/src/optional" to match actual project structure
2021-04-28 21:47:22 +00:00
Josh Goebel 857d11fc73 test: add platform name validation and version component count checks
Extend cross-platform tests to verify Platform.name returns one of seven known
OS strings and assert Process.version splits into exactly three numeric
components, while fixing missing trailing newline in isPosix test file.
2021-04-28 21:45:50 +00:00
Josh Goebel e65ab48dc2 feat: replace FINALIZER macro with ALLOCATE and FINALIZE for parity in module bindings
Add ALLOCATE macro alongside existing FINALIZE macro to provide symmetric
handling of foreign method allocation and finalization in the module
registry. Update File class bindings to use the new ALLOCATE macro for
fileAllocate and FINALIZE for fileFinalize, replacing the previous
FINALIZER macro usage.
2021-04-28 21:44:36 +00:00
Josh Goebel bf822779f0 fix: add .gitattributes to map .wren files as JavaScript for GitHub linguist highlighting 2021-04-28 21:41:02 +00:00