Bob Nystrom 46bc8055c4 feat: replace single CODE_CALL with argument-count opcodes and update primitives signature
Replace the monolithic CODE_CALL instruction with ten distinct opcodes CODE_CALL_0 through CODE_CALL_10 to encode argument count directly in the bytecode. Update the VM interpreter to extract numArgs from the opcode offset and adjust stack indexing to retrieve the receiver relative to arguments. Change the Primitive function pointer typedef to accept a Value* array and numArgs parameter, and update all existing primitives (metaclass_new, num_abs, string_count) to the new signature. Add a new string_contains primitive and register it in the VM initialization.
2013-10-26 23:01:44 +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%