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 5437 invoked from network); 15 Feb 2021 22:40:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Feb 2021 22:40:14 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613428814; b=kbMQViaa9vKmnLa5JcsVw8u4hckyyBkAc7fz3LuF3gVWdcD1GY1aCihMcplQShwOHXLbtucgiG xl4P7j+ugV+q+fdu7tIYdraStDTcHDiNRBKTEydgVzD89fCsKo8TicM9CFH0gA5sQ4B6ILWAeW 9Gjubx3GedrGwxtJIu0xxWQVXCsfgnuj1ZwXJYdqdN7xcSQnWDG2jT7wl3KynRTobuCjR7B3VP 6aTbdl1QZ79C7JaP96IUBIhdOlc6xd1QQxH0Ta1qzdpeaHgFmiEpGkmNfkUTXKyEKK0TZcN0vO iS0baAXN6Fm3Xb+Ox4thvS2HTEawEQPhnAyJOmriKuk1rA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613428814; bh=GPG4oMyvUJbITkyXkTe9beDEm1aL/kwzZqugRbIA+vY=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=hblHAIWWOzBcaEMsVg6yqSbwB0nZxlDq/8V3KwNiLU1tS+lJ2jIufLU+3iB5ZCCTiTB0dnFXgb 8qdnLM6Vym8t4x7R/3ftocbUvjPG9udn3icsbEvpTppUuc+D6prl9hGB0hsT4uISm8PZxc3gXq owzrjsHeuXFEJBtCXmQ4ho1e+amnuh2MLtzgptHpcWGk7xx+3sQqU2dUIIAYeewolGT2qkjvs0 sSigk3lOG3WxW6jyR1Z5Cdl5WI6HiqkmuIHeJ5yxVpPLCGr06OdHweaq0Wg5AlHUm/+OOOpO9M NRNazpzks/eQ1y4f6zw03syuAs4B2+cxOT5DALoSHWYqnQ==; 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:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=c6smLtKvzQ/IMhNeOwdyyroLYaWE+YIg6wZK/qnEgG4=; b=PmvdDfN9Bbv5Tn0ySIFGTCxTQh sANFYHWbi8JqfTzyYha5lrZ3cTUQ53GpZc1Fbi33eDfuhQiOydFiFB/mcr8mlfmds5PN5zWcpGLmh G8MbHpd/vUZvTWilPTHvoejZfz4dA2Ye6enIDoABUvdDk6eKICev3Cm0DxirP5+oa4j+1fXqRRpMN MApi61ElQA4iYraY/5g9DDMo8u/IlELiEz7EutK29v8dCNRdxPQfIuto9u88GRgqos5xw4e2nXvpd 9cIEqyAeFU8abBtEB6rJnzHxbmgmosQhwdfjPxMt4g1Jw+op2Jm61YdwFj0MkXCx+HZJQw1vfmJgD 1FpO9S1A==; Received: from authenticated user by zero.zsh.org with local id 1lBmXN-0000uE-NQ; Mon, 15 Feb 2021 22:40:13 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oi1-f169.google.com ([209.85.167.169]:34494) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lBmXD-0000ll-IR; Mon, 15 Feb 2021 22:40:04 +0000 Received: by mail-oi1-f169.google.com with SMTP id i3so9340757oif.1 for ; Mon, 15 Feb 2021 14:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c6smLtKvzQ/IMhNeOwdyyroLYaWE+YIg6wZK/qnEgG4=; b=MYLbjiZ8DVwj80ECKP8ZQeULfs0sCuRGDgePcAP+fGWiEx4hcvkdl1o8zH1r028Iyd 66NFLGX3h8j4Urr+EI9XucgFVDNq1960X/4rxIugLpDFA8mw/0nL+DgHrIO6+NHvg7BG vIM9VAwetQ++OBMFgeBmk1eWbzd0wScDJIKesEaJQoi85AA2AvEd2g52NMhXFncFeEe1 OiZRclxOdbBytbCDsA36mpAJ0CRcr/u/EIWsVDSPiZ9A2IiQn7gLsKySmlfBFp2+pI7A 81Enxo3moJB70trLZS0v6Ft1ozO3QSSpbLfU/Npu90hW87KLwVD3LbAft8SlSZSRPQY8 hawg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c6smLtKvzQ/IMhNeOwdyyroLYaWE+YIg6wZK/qnEgG4=; b=jyRTIWZHgROPh7PXIGhu5ghMl6RxktEU8EUmMybuJSHLMCd7YKE90zs9eXm17cA8jz kVphM8iBT7bOn6ZoLwOGtV5m5R+FpRzqZEuQjmpOq0w6Pmvi5GcpuOCJx9N9rMCVjH8K iCZqhq90/kSzIzJ9ZLQjnlSib0D/QnkAtbErYt1/j7GhR2xUy54s8K63fvayz9g7kVvF kU9GTYSkP0pOfpaWX0VzYIPkvCW7HkrbhLTI3zFVpdofdIGhcq41WDV5kMhkoOLTI+19 MigJmFZiiqhvmii0JGwqrn+/quxIb83j5L7As3R1GXlyodALVM/NHnQjWJJr98kIxe2q UDQg== X-Gm-Message-State: AOAM530uOiecKm7+GUOOdJqE/9Q1c4I5K3VIurGT8KBQaBbO54grNHCA rG4E2dWBL3bNt4IffYRxpeQBuc61y+UBBSMdb2F6/Eek4QYfPw== X-Google-Smtp-Source: ABdhPJyOFFmVawchZrp8ubdCiCNR+5vpj4EIhhaNk03lujoUkxGWYhsXtiQAnMSMsHEr8YNi+LgtLGXO0NvIRjTZPFs= X-Received: by 2002:aca:4e8e:: with SMTP id c136mr679707oib.173.1613428802456; Mon, 15 Feb 2021 14:40:02 -0800 (PST) MIME-Version: 1.0 References: <20210213083521.kv3y3qzfnaffflfh@chazelas.org> <20210215174356.7kcrfk247j5vrg3y@chazelas.org> <20210215220651.GB4949@tarpaulin.shahaf.local2> In-Reply-To: <20210215220651.GB4949@tarpaulin.shahaf.local2> From: Bart Schaefer Date: Mon, 15 Feb 2021 14:39:51 -0800 Message-ID: Subject: Re: Block comments ala Ray To: Daniel Shahaf Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48065 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 Mon, Feb 15, 2021 at 2:07 PM Daniel Shahaf wrote: > > Stephane Chazelas wrote on Mon, Feb 15, 2021 at 17:43:56 +0000: > > Here, if it was my call, I would just not bother with a new > > block-comment operator > > +1 That's fine. This started as an investigation into how difficult it would be to modify the lexer, so having found a case where it was not difficult, I presented it. Which I also did in order to provide context for my question about detecting the first character of an entire script, for which I still don't have an answer.