Josh Goebel

Results 1696 comments of Josh Goebel

@ruby0x1 Am I right in thinking that if we hooked `vm->config.errorFn` we could capture these errors, parse the resulting message, and then run our own code to set defaults? e.g:...

> just initialized to null, which indeed makes more sense. But then I realized you have cases like: ``` a = b + c ``` While finding `a` to be...

Example, this is surprising behavior: ``` > class Animal { } typo [repl line 1] Error at 'typo': Expect end of file. > class Animal {} [repl line 1] Error...

I'm guessing it's non-trivial, but the "backing out undefined variables" thing might not be so difficult since we already know what they are since we warn about them... so maybe...

What other REPLs do we know of that support multi-line input? I'd like to try one and see how it works.

To me nil makes sense because it's seems perfectly natural (and a bit nicer) to use the reader directly in a loop: ```js while (data=Stdin.readLine()) { // process data }...

@ruby0x1 I don't know what this is (from the log)... `wren-console` shows both the host and wren version when asked. (the prior `--version` output from 0.2.91 was even longer) ```...

@pkoppstein I think you'll find `wren-cli` simply doesn't know how to resolve absolute paths. Only "relative" and simple paths (ie, built-ins)... Reference: https://github.com/wren-lang/wren-cli/blob/main/src/cli/vm.c#L135 This is something `wren-console` supports IIRC (there...

> make sure there's good side bar links and landing page content to point back wren, and to wren modules I'm not sure I followed this part... are there specific...

> If Env can have Sequence as a superclass, like Map, then you get all the iteration mostly for free I was worried since the underlying data comes from the...