From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: * X-Spam-Status: No, score=1.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_SBL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 3DCD01F44D for ; Mon, 1 Apr 2024 08:42:04 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=uWwpr7F6; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=bjx8tVDJ; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id ACFC583B34; Mon, 1 Apr 2024 08:41:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1711960915; bh=uE5wEAASsvAeVd7YpzHUkmg9gDbjH/kFy6acmm25ZQ8=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=uWwpr7F6wtaAhU7rd+lkELn4klxwKRWJS5aa9d9W3FVL6IFp3/W5c1HnV6TkZsCxd T67iDU+3TiiIj/+h5XC+gf7B0lXRoOII1zX1kr7BTadkcsNMq/H4mUaUhQbve2X95C x8WXlJed/xFj+OW61I0uQA1/iEODWwisyn9qt+yU= Received: from s.csnrwnwx.outbound-mail.sendgrid.net (s.csnrwnwx.outbound-mail.sendgrid.net [198.37.146.154]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 1532283B0A for ; Mon, 1 Apr 2024 08:41:51 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=bjx8tVDJ; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=481kDkyGscgR46qylNqePmejNu7TBXlRQeAhSKFcYl0=; b=bjx8tVDJV6lE3cj0I3MEdiJ10Z4F1XNkqv1B2+JeJLd8ac7/Cu8nx/dhSU0+yxYx3rZ/ 6CzeWSpcpFg2N2IS1U6snQlIkeSdZ1R4wy9MwVbl3XXVRTHrQMaTn+R+Ht1nKJ119dQ10p alUjsZHGimPCJqCSX/X+yd7Y2ETW5BEvQ3oKIAVeK+NK3jvUpwmGeD2f6Xdfuw2tmDaguM hBOSyROVTLiyaTaopQAfyXkc1+Ka6oLaDfEj1YIa+f17NWiBvu1vE4QaxKWr3xmUTkUoCi CDvT66bjPpVchQJ+BjQo3f/9AL7NkFDw2J3sxdhzWNqtY76CG8St9F64Y1LEy5kw== Received: by recvd-6fc499775c-wzrrk with SMTP id recvd-6fc499775c-wzrrk-1-660A734D-D 2024-04-01 08:41:49.583332593 +0000 UTC m=+1165286.283350281 Received: from herokuapp.com (unknown) by geopod-ismtpd-36 (SG) with ESMTP id iel65fJyRi2jjp7CHMt6GA for ; Mon, 01 Apr 2024 08:41:49.550 +0000 (UTC) Date: Mon, 01 Apr 2024 08:41:49 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20405 X-Redmine-Issue-Author: nobu X-Redmine-Issue-Priority: Normal X-Redmine-Sender: vo.x X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 93990 X-SG-EID: =?us-ascii?Q?u001=2EyMiCBSACWrWmffOKyGXWHegF7vzERB8YDC=2Fl8bL1VoJCfzjoEQKqqhWMB?= =?us-ascii?Q?cCIxOU5CxEWLdUTISPq9d+vx=2FmMei38R29eziGW?= =?us-ascii?Q?Ijk4NbaME95zpK8aDnPxYxC8TY947dijvA8jOzH?= =?us-ascii?Q?pldwd4yuyE5JBN3tgqgkG=2FceUpvzapExbZiGCf0?= =?us-ascii?Q?kxUu+Mevoq31TLrH76riRHMYPciq7tcLn8wxg0x?= =?us-ascii?Q?vxBRoDg8XtYvk0ZBdouY39WhTuKt=2FEngmUabTBv?= =?us-ascii?Q?Y4SR?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: 4UQCO63SME42YIOHI4N26M73GGDTASGT X-Message-ID-Hash: 4UQCO63SME42YIOHI4N26M73GGDTASGT X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117395] [Ruby master Feature#20405] Inline comments List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "vo.x (Vit Ondruch) via ruby-core" Cc: "vo.x (Vit Ondruch)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20405 has been updated by vo.x (Vit Ondruch). I like this proposal. But there are other possibilities, such as: ~~~ (: This is comment :) ~~~ That would just underline Ruby as a "happy" language. Of course variants such as `(-: ... :-)` or even `(o: ... :o)` could even extend the expressiveness of comments ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-107555 * Author: nobu (Nobuyoshi Nakada) * Status: Open ---------------------------------------- I propose a new inline comment syntax. ```ruby p (| This is a comment (| and nested one |) /:|) (:|) #=> :| ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/