From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8403 invoked from network); 16 Feb 2021 17:21:53 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Feb 2021 17:21:53 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613496113; b=zjCzWa16iL+swLcLlbfGXbJ/AMTcJczHZgX5sdwwNVLdxtFYhjRLRMcxE+g6Ftrh50Sw4XP8PC F2SNVYY/MiOmEnNPVtTF+gL5SpEjA+hTNr+d9j4hXfiOMLweI8ld4flCF71bC0TG3AyCQ3aHgU pPylmGujD9AQccUtH6+QAtMN55oi6O9lIXa02r3zWV3a8j0zO6Mhe+mKHShNwzxXvOJoRcqd+4 RIotGv8SUbc1KrQZza4Slo5lH4efleAXG+r9j1fSfqvtMDDan0ZO4XIJu3YR+hx55Qi8PmLu+g vDtwoX8fXa+OJjuHNmMG4nmjRHXVauFMxUhy0DIrM1u92Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613496113; bh=5+rdPp5rcXFKyAnP0SHL8YvMzNok85deB51QfLMqml8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature; b=MlPknd8yTVUp0PHWz71IabJYysx9owqZZNKQ9fZ/rXhZNsbAUc96kWi2EAc0UW6Y8i5iQx1eeY TuCTSHVEgCjXJ2DOWZollbzPaeCrIFJrnr+3ixuCtMvs4UHtg55FAnBSTrWaucgirOZZzKShPt iIR8hTVHJf609CabXq1yNQCQ/C69GrRgA+InlpjhEywEoH8LRiGHNK1BK4YSQKqS2PDKoCFMrL NfRmWSkf+Hq83lzYyjwkV+vT1UmUiG28LNOJE/h0LacpVAAfKAj07y4ux6SiVACbzThvCA7J6z exnIQydkF0+fD+6FZH8kvkfESTcShHG+jBYRHiuI1xSvvA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=bTU6C/zkPWCJUSVqDuT7pcnCsHbW05PjC7OnOuVFI4A=; b=jX0D1dCTfBJK59ZfYwSp3+J9ej tKKbCNfjOoomXYTArzGIdGyO4dStuc5URJfoMqxfkoCpw4Hqr1i77wQBGL0NnZOJCoEQMLHHjt1wg Cr6cPQqpfQMWwm8pGgihmrGquNo3gbbPUc60+5ZjmwYCpdjAXcp6VFRjC5NUHR/S32OOxwd4EdOHY mTMIBPxXg299aDQzH4EjFZbMEz2GbjPFFMWCDCXxc0ZRm+km0GgSDrKMrIR/MtqaETkrTbqk6gp7V wl9oBv9/fE5Hqq6cOClrpmD60bdhqVfNNRqZl6VUH8QGDqFfk7HNYYLQ+VUCmFMJBITye/Z8QioOR NizgUnkw==; Received: from authenticated user by zero.zsh.org with local id 1lC42r-0006Iq-Bm; Tue, 16 Feb 2021 17:21:53 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:40480) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lC42Y-00069q-9C; Tue, 16 Feb 2021 17:21:34 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 6B1DE3AB; Tue, 16 Feb 2021 18:21:33 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 65A82C2063E; Tue, 16 Feb 2021 18:21:32 +0100 (CET) Date: Tue, 16 Feb 2021 18:21:32 +0100 From: Vincent Lefevre To: Juergen Christoffel Cc: Bart Schaefer , Zsh hackers list Subject: Re: Block comments ala Ray Message-ID: <20210216172132.GA439689@zira.vinc17.org> Mail-Followup-To: Juergen Christoffel , Bart Schaefer , Zsh hackers list References: <20210216153049.GA8000@unser.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210216153049.GA8000@unser.net> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.5+111 (106ff19a) vl-132933 (2021-02-08) X-Seq: 48070 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On 2021-02-16 16:30:49 +0100, Juergen Christoffel wrote: > That said, wouldn't it be possible to augment the comment parsing to use > something like perl's "plain old documentation" (pod) meachnism, e.g. > > #=pod > This is a block comment > and $foo would not have a special meaning inside it > really > #=cut This could break existing scripts... unless a specific switch is added (but more generally, you could imagine a feature that would optionally preprocess the script before it is parsed by zsh). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)