Hi Bram - interested to try things out.

A couple of stupid questions:

* if Vim9 script remains experimental, presumably I have to explicitly
enable it within a script it somehow/somewhere? Or is this the
vim9script reference above?
* you allude to this point above, but will the speed improvements be
limited to Vim9 script?
* I'm assuming that channel support will remain the same? Is there any
speed improvements we can investigate here?

Thanks

On Sat, 25 Jan 2020 at 16:32, Bram Moolenaar <[email protected]> wrote:
>
>
> I have been experimenting with ideas for Vim9 script in a separate
> repository for a while.  I'm quite happy with how this turns out, and I
> haven't heard objections.
>
> Since keeping this separate from the main Vim code requires extra
> maintenance, especially when refactoring code, I think it's time to
> merge the changes for Vim9 script into the main code.
>
> Note that Vim9 script will remain experimental!  It will take several
> months of exploring before we can decide it is good and settle down on
> the syntax and semantics.  Feel free to write Vim9 script, but be
> prepared that it might break.
>
> I am going to include it without a new "#ifdef": if the +eval feature is
> supported then the Vim9 script support will also be included.  For me it
> means I have to make sure it builds without problems.  The advantage is
> that improvements also apply to legacy Vim script, such as using an
> efficient range-list implementation.
>
> So long as you don't use ":def" to define a function and don't use
> "vim9script" in a script file, then everything works as before.  Well,
> it might get a bit faster.
>
> --
> For large projects, Team Leaders use sophisticated project management software
> to keep track of who's doing what.  The software collects the lies and guesses
> of the project team and organizes them in to instantly outdated charts that
> are too boring to look at closely.  This is called "planning".
>                                 (Scott Adams - The Dilbert principle)
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/vim_dev/202001251631.00PGVo0I028317%40masaka.moolenaar.net.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn4TQ%3DAYq59gaw2gTgcy-MN80B%3DEZi-TfSKTEwyV5oKV9g%40mail.gmail.com.

Raspunde prin e-mail lui