4aa851cb64d9983de93a73a25d899717b520078c
The getNumArguments function was incorrectly returning the number of upvalues as a direct count instead of accounting for the two bytes consumed per upvalue in the bytecode stream. This caused the patching loop to exit prematurely when processing closures with multiple upvalues, leading to corrupted bytecode offsets and runtime crashes.
refactor: consolidate type-check helpers into generic wrenIsObjType and validate IS operand is class
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%