93cf4e6b879b796fbca6d6ef8cfa09b795179fe8
Add isInsideMethod helper that walks the compiler's parent chain to detect if the current compilation scope is within a method. Use it in super_() to emit a compile error when 'super' is used at top level or inside a top-level function, with corresponding test cases for both scenarios.
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%