This website requires JavaScript.
Retoor software development
Projects
Research
SearchXNG
Register
Sign In
2 lines
42 B
Plaintext
Raw
Normal View
History
Unescape
Escape
refactor: convert IO from singleton instance to static class with metaclass native methods Replace the global `io` singleton object with a static `IO` class, moving the `write` native from the instance to the metaclass. Update all benchmark, example, and test files to use `IO.write()` instead of `io.write()`.
2013-12-22 04:25:09 +01:00
IO.write("ok") // expect: ok
feat: add skipBlockComment parser with nesting support and three test cases Implement a new skipBlockComment function in the compiler that handles nested /* */ block comments by tracking a nesting counter. The parser advances through comment characters, incrementing nesting on opening /* and decrementing on closing */. Also add three test files: comment_block.wren verifying inline and nested block comments, comment_block_at_eof.wren for a block comment at end of file without newline, and comment_line_at_eof.wren for a line comment at end of file without newline.
2013-11-14 02:09:47 +01:00
/* comment */
Reference in New Issue
Copy Permalink
b72a42eedd
wren
/
test
/
comments
/
block_at_eof.wren