Bob Nystrom 51dffa8c02 feat: add test verifying default constructor behavior for classes without explicit constructors
Add a new test file `test/constructor/default.wren` that validates the Wren language
behavior where a class with no explicit constructors automatically receives a
parameterless `new` constructor. The test creates a `Foo` class with only a
`toString` method, instantiates it via `Foo.new`, and asserts both the type check
(`foo is Foo`) and the string representation (`foo.toString`). Also includes a
TODO comment noting the need for a future test case covering classes that define
explicit constructors.
2013-12-11 05:58:02 +00:00
S
Description
Highly customized version of the wren programming language. It has all the modules that you would expect in a std library including http, websockets, sqlite3 and jinja-like templating engine. The idea is to make it suitable for web development.
22 MiB
Languages
HTML 50%
C 22.2%
PHP 13.4%
C++ 6%
Makefile 2.9%
Other 5.5%