Josh Goebel
Josh Goebel
Well now this is where our naming gets us into trouble... Ruby's API takes an offset as a 3rd parameter... if no offset is given the file is truncated. But...
I'm not convinced a static function is required for *every* file operation though, rather than merely super-common ones.
According to the documentation: > Returns the number of seconds (including fractional seconds) since the program was started. This is usually used for benchmarking. Based on that I'd say the...
Updated: Attempts to properly clean up fully before stopping completely. This also improves scheduler error handling which also uses `uv_stop` to hard stop which may not fully clean-up...
Converting to draft, seems obvious now this needs more work.
Fairly confident this works: https://github.com/joshgoebel/wren-console/commit/1de80e506243b312f989e1def7152ad8a9058787 The flow: - Wren VM calls into C for `Process.exit_` - `uv_stop()` - stop the UV event loop - Control returns to Wren VM -...
I think we just want to cover our specific requirements unless it's truly decided we want a FULL assertion library inside CLI, but that doesn't sound right OTTOMH. We gotta...
Ah yes, perfect. :) Soon we need the idea of LOAD_PATH, etc... :-)
> My hunch is that getopt() is a little too primitive. getopt_long() may not be portable enough. Is there a reason we can't have a small class in Wren to...
@acook Not sure if you'd be interested but I just implemented this in my Pure Wren branch of the CLI just to see how easy it would be to add...