Add static `IO.read(prompt)` method to the IO class that writes the prompt to stdout and reads a line from stdin into a 1024-byte buffer. The C implementation uses `fgets` for input and returns the string via `wrenReturnString`. The Wren wrapper calls `IO.write` for the prompt before delegating to the native `IO.read` method.
The Wren scripts in this directory get converted to C string literals and then inserted into their respective .c files so that the interpreter can load them directly without having to do any file IO.
The script that does this copying is script/generate_builtins.py.
You can invoke using make builtin.