Qi Xiao

Results 250 comments of Qi Xiao

This new construct has no corresponding construct in JavaScript or Perl. It does correspond to Bash's `local` declaration. Both JavaScript's `let` and Perl's `my` are lexical declarations and correspond to...

@fennewald You're right. Indeed Perl's `local` does this too - it is confusingly named and Raku's name `temp` better reflects what it does.

0.18.0 will deprecate the legacy syntax. After 0.18.0 is released, the legacy syntax will be removed. Moving this to the 0.19.0 milestone.

@ilius Variables in Elvish are already lexically scoped, so in `{ var a = foo; var b = bar; put $a $b }`, the variables `$a` and `$b` are not...

> A possible approach to (3) could be elvish bundling an existing wasm runtime (most likely [wasmer](https://github.com/wasmerio/wasmer-go). epm packagers could include a wasm binary directly in their module, and load...

> > I should clarify that the proposal there is not to reimplement UNIX utils within Elvish but to provide wrappers that only support features that are commonly supported. Differences...

Regarding other points: - Re `-memprofile`: there are two different types of memory profiles, `heap` and `allocs`. `heap` doesn't make sense as a global flag; I added support for `allocs`...

Re a total ordering of Elvish values, see my comment in https://github.com/elves/elvish/pull/1698#issuecomment-1539135975. It's not necessary to define a total ordering of all Elvish values in order to print maps with...

There's now a *Beginner's Guide to Elvish* series on https://elv.sh/learn/.

Interesting, I should look into this later. I wonder how `tmux` and other programs that have servers handle this.