Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aiya000
Copy link

@aiya000 aiya000 commented Jul 8, 2019

This motivation is here => #4491 :)

This is a version that omitted the '_' support.
(Please see #4491 (comment))
Please take this patch if you agree to this πŸ‘

Or let's discuss again at #4491 if Bram really want to '_' :D

@k-takata
Copy link
Member

k-takata commented Jul 8, 2019

Please also check my comments in this commit: aiya000@e4e7d0d.

@aiya000
Copy link
Author

aiya000 commented Jul 10, 2019

@k-takata @mattn Thanks for your reviews!
I fixed reviewd terms πŸ‘

And I re-checked comments. I think all comments are fixed :D

@aiya000 aiya000 force-pushed the template-string branch 2 times, most recently from 5048469 to d8e0211 Compare July 10, 2019 06:00
@aiya000
Copy link
Author

aiya000 commented Jul 10, 2019

Appveyor says

gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -O2 iscygpty.c -o obji686/iscygpty.o -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -O2 -s -municode -o vim.exe obji686/arabic.o obji686/autocmd.o obji686/beval.o obji686/blob.o obji686/blowfish.o obji686/buffer.o obji686/change.o obji686/charset.o obji686/crypt.o obji686/crypt_zip.o obji686/debugger.o obji686/dict.o obji686/diff.o obji686/digraph.o obji686/edit.o obji686/eval.o obji686/evalfunc.o obji686/ex_cmds.o obji686/ex_cmds2.o obji686/ex_docmd.o obji686/ex_eval.o obji686/ex_getln.o obji686/fileio.o obji686/findfile.o obji686/fold.o obji686/getchar.o obji686/hardcopy.o obji686/hashtab.o obji686/indent.o obji686/insexpand.o obji686/json.o obji686/list.o obji686/main.o obji686/mark.o obji686/memfile.o obji686/memline.o obji686/menu.o obji686/message.o obji686/misc1.o obji686/misc2.o obji686/move.o obji686/mbyte.o obji686/normal.o obji686/ops.o obji686/option.o obji686/os_mswin.o obji686/os_win32.o obji686/pathdef.o obji686/popupmnu.o obji686/popupwin.o obji686/quickfix.o obji686/regexp.o obji686/screen.o obji686/search.o obji686/sha256.o obji686/sign.o obji686/spell.o obji686/spellfile.o obji686/syntax.o obji686/tag.o obji686/term.o obji686/textprop.o obji686/ui.o obji686/undo.o obji686/usercmd.o obji686/userfunc.o obji686/version.o obji686/winclip.o obji686/window.o obji686/os_w32exe.o obji686/vimrc.o obji686/if_cscope.o obji686/xdiffi.o obji686/xemit.o obji686/xprepare.o obji686/xutils.o obji686/xhistogram.o obji686/xpatience.o obji686/iscygpty.o -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion -lole32 -luuid      
obji686/popupwin.o:popupwin.c:(.text+0x2ee1): undefined reference to `ch_log'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [Make_cyg_ming.mak:1022: vim.exe] Error 1

But I don't have any ideas about this.
Is this my problem? X)

@k-takata
Copy link
Member

But I don't have any ideas about this.
Is this my problem? X)

Maybe no.
ref: https://groups.google.com/d/msg/vim_dev/zGy72qFwvYc/ZN9tZUpKBAAJ

@aiya000
Copy link
Author

aiya000 commented Jul 10, 2019

@k-takata Thanks a lot!
I might resolve problems πŸ‘

@aiya000
Copy link
Author

aiya000 commented Jul 11, 2019

@k-takata Thanks πŸ‘
I might fix again :D

@codecov-io
Copy link

codecov-io commented Jul 11, 2019

Codecov Report

Merging #4634 into master will increase coverage by 0.04%.
The diff coverage is 89.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4634      +/-   ##
==========================================
+ Coverage   87.39%   87.43%   +0.04%     
==========================================
  Files         143      143              
  Lines      158229   158419     +190     
==========================================
+ Hits       138277   138513     +236     
+ Misses      19952    19906      -46     
Impacted Files Coverage Ξ”
src/eval.c 96.17% <89.30%> (-0.57%) ⬇️
src/misc2.c 91.30% <100.00%> (+0.01%) ⬆️
src/testing.c 92.56% <0.00%> (-0.64%) ⬇️
src/if_xcmdsrv.c 88.38% <0.00%> (-0.53%) ⬇️
src/clipboard.c 83.00% <0.00%> (-0.11%) ⬇️
src/terminal.c 90.97% <0.00%> (-0.04%) ⬇️
src/window.c 89.11% <0.00%> (+0.03%) ⬆️
src/ex_getln.c 91.84% <0.00%> (+0.04%) ⬆️
src/search.c 91.40% <0.00%> (+0.10%) ⬆️
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update 71ccd03...e26a5f5. Read the comment docs.

@k-takata
Copy link
Member

According to the result of codecov, it seems that your test is not executed on CI.
You also need to add

source test_string_interpolation.vim

in src/testdir/test_alot.vim (or add test_string_interpolation.res in the NEW_TESTS_RES variable in src/testdir/Make_all.mak).

@aiya000
Copy link
Author

aiya000 commented Jul 14, 2019

@k-takata Sorry, Now I'm working to fix problems.
Please wait for re-checking πŸ™

@aiya000 aiya000 closed this Jul 14, 2019
@aiya000 aiya000 reopened this Jul 14, 2019
Co-authored-by: K.Takata <[email protected]>
@Houl
Copy link
Contributor

Houl commented Jun 15, 2020

Error: thread too long

@aiya000
Copy link
Author

aiya000 commented Jun 16, 2020

@Houl Sorry, what do you mean? :)

@aiya000
Copy link
Author

aiya000 commented Jul 14, 2020

@brammool Hi, Bram :D
What do you think about latest implementation?

@aiya000
Copy link
Author

aiya000 commented Aug 11, 2020

@brammool Hi.
Should we include an implementation for vim9script into this PR?

@brammool
Copy link
Contributor

brammool commented Aug 12, 2020 via email

@aiya000
Copy link
Author

aiya000 commented Aug 12, 2020

@brammool Thank you for your reply!
I'm so glad :D

I understood that you are in keeping busy πŸ‘

When you are no longer in busy, I would be grateful if you see the current implementation :D

Thank you!

@Houl
Copy link
Contributor

Houl commented Sep 2, 2020

Is this actual syntax?

" Quotes in quotes
echo $'${'*'}'
echo $"${"*"}"

If at all, I hope the syntax will be

echo $'${''*''}'
echo $"${\"*\"}"

otherwise it will be impossible to skip these new string literals using a single regexp.

@aiya000
Copy link
Author

aiya000 commented Sep 2, 2020

@Houl The first half is actual syntax :)
Maybe, A conversation of this is existent in this page 'Conversation'.

@brammool
Copy link
Contributor

brammool commented Sep 2, 2020 via email

@Houl
Copy link
Contributor

Houl commented Sep 2, 2020

The idea was to skip over $'...' or $"..." at once; and to omit the leading $ and get an ordinary string literal.

@Houl
Copy link
Contributor

Houl commented Sep 2, 2020

Wish: exprend({str}[, {start}]), a function to skip over a Vim expression. It should be something that's already there, just not exposed yet.

@aiya000
Copy link
Author

aiya000 commented Sep 3, 2020

Wish: exprend({str}[, {start}]), a function to skip over a Vim expression. It should be something that's already there, just not exposed yet.

Is this meaning the C function?
If this is meaning the C function, just get_template_string_tv() is useful.

@austintraver
Copy link

@aiya000 I've been following this since your original post in June of 2019 and I'm so impressed with your patience and commitment to getting this integrated into vi. I'm a huge fan of your proposal, you have my support.

@aiya000
Copy link
Author

aiya000 commented Oct 16, 2020

@austintraver
Waw! I'm so glad!

This PR was so hard for me, because this is the first contribution of Vim.

Thank you :D
Thank you!

@SarveshMD
Copy link

Great work !
I don't know why this isn't merged still !

@k-takata
Copy link
Member

k-takata commented May 6, 2022

Closing via #10327 and 8.2.4883.

@k-takata k-takata closed this May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants