08618abc5d259b82ac972da300d8d71b734a749f
Add special case in list_subscript native to return a new empty list when the source list is empty and the requested range is [0..-1] (inclusive) or [0...0] (exclusive). This enables using list[0..-1] as a universal copy idiom that works even for empty lists. Update the List.+ operator to use this idiom instead of manual iteration. Add test cases for both range forms on empty lists.
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%