Bob Nystrom f1bade2c81 feat: add line comment support to lexer with skipLineComment helper
Add a new `skipLineComment` function to the compiler's lexer that consumes
characters from the current position until a newline or end-of-file is
encountered. Update the `readRawToken` switch case for '/' to detect the
"//" sequence and delegate to the new function instead of emitting a
TOKEN_SLASH. Also add a line comment to the example hello.wren file to
demonstrate the feature.
2013-10-26 03:07:04 +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%