4c4f32b5b2cba828b28f936e5ebb98498158692e
Add type checking to the `fn_new` native function to ensure the argument passed to `Fn.new` is either a function or closure. Previously, passing an invalid type like an integer would silently succeed. Now it returns a clear runtime error message: "Argument must be a function." Also remove two stale TODO comments about newline handling in the compiler that were no longer relevant to current parsing logic.
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%