zsh-workers
 help / color / mirror / code / Atom feed
* [Feature Request] Adding option to support triple quotes
@ 2019-08-13  6:06 Aryn Starr
  2019-08-13  9:06 ` Mikael Magnusson
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Aryn Starr @ 2019-08-13  6:06 UTC (permalink / raw)
  To: zsh-workers

Adding an option to zsh to support triple quotes (TRIPLE_QUOTES) would make possible much more readable code.
We can have double triple quotes that support `$` interpolation, and triple single quotes that just take raw strings. If it’s possible, we can even make it customizable for the user to set the number of quotes needed to activate this mode; I don’t imagine any one is using 4 consecutive quotes in their current code.
These little conveniences go a long way to make zsh a stronger competitor to scripting languages like Python. zsh is optimized for filesystem and process programming, which necessates some compromises, but things like triple quotes can be introduced to the current syntax with no problem, I think.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-08-19  6:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2c845fb0-d628-400f-a805-ad8356b6d87a@www.fastmail.com>
     [not found] ` <7EBD1ADA-7179-4EEF-97CA-DBE4371D80D6@icloud.com>
     [not found]   ` <876f807b-dfdd-4246-8cfe-7cf6f373ac88@www.fastmail.com>
     [not found]     ` <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com>
2019-08-15 16:23       ` [Feature Request] Adding option to support triple quotes Aryn Starr
2019-08-17  5:31         ` Bart Schaefer
2019-08-17  6:30           ` Stephane Chazelas
2019-08-17  8:19             ` Stephane Chazelas
2019-08-18  4:24             ` Mikael Magnusson
2019-08-18 18:58               ` Matching delimiters for the "e" glob qualifier (Was: [Feature Request] Adding option to support triple quotes) Stephane Chazelas
2019-08-18 19:55                 ` Bart Schaefer
2019-08-19  6:46                   ` Matching delimiters for the "e" glob qualifier Stephane Chazelas
2019-08-13  6:06 [Feature Request] Adding option to support triple quotes Aryn Starr
2019-08-13  9:06 ` Mikael Magnusson
2019-08-13 20:52   ` Aryn Starr
2019-08-13 16:28 ` Daniel Shahaf
2019-08-13 20:40   ` Aryn Starr
2019-08-14  9:54 ` Stephane Chazelas
2019-08-15 14:28   ` Aryn Starr
2019-08-15 15:56     ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).