Commit Graph
2 Commits
Author SHA1 Message Date
Bob Nystrom cde3490579 test: add test files for number_abs, string_contains, string_count and fix empty string corner case in string_contains primitive 2013-10-28 13:53:51 +00:00
Bob Nystrom 5fb2b6b253 feat: add io.write primitive and test runner with number literal tests
Implement the io.write() primitive function that prints a value followed by a newline, enabling basic output for testing. Add a Python test runner script (runtests) that discovers and executes .wren test files, comparing output against // expect: comments. Include initial number literal tests covering positive, negative, and zero values. Remove debug print statements from the VM interpreter and refactor primitive registration macros for cleaner code.
2013-10-28 05:45:40 +00:00