From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0BTzJ23rGWZSDwEAe85BDQ:P1 (envelope-from ) for ; Sat, 13 Apr 2024 04:18:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0BTzJ23rGWZSDwEAe85BDQ (envelope-from ) for ; Sat, 13 Apr 2024 04:18:21 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=Ev9mOXC1; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=sGk56ggH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=pass (policy=none) header.from=maniero.me ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1712974701; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HbFzTeWzdj0tAQLp4r28iLA21tsHDjl/HvGYlqfju7Y=; b=B5+dPAYRQDez6f2jE3145SEgQoYs59JfXfU3jOPjirasZW0CrWs6FOjVh4svDSE5IgIBP1 zoxKxo+PTlJVZD5GHRArGkGetBgAYrMtnoOMDdWNp9xAw4PQ4g6jtn6gRp6RYYE31ub4iC +NLOjfhHZUjtGOvQMMvPGDLNOfcdMQSymhxIe/au6/FSo7Et4XxC0BSzBO/fPJAvorB1we QsGXjcqJvdYToY8NrXkJNDOjs0CoRy0WccmbX2WUNNvRvoXtCtOQd8YPSqUfHLMuLBYjWx W00GGG6SjEVja71/msHLC/RODmWpcADBlRZDkzjo7HL/p+6b87TyA7PIxIW+6Q== ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1712974701; a=rsa-sha256; cv=pass; b=plfDk0dv6btQE5zDjRHmD7QnzzpXL+UHq5Muq40bRCsDjG/OaaUcp8AD3WuPsoE1sbBoEz nq2fhUk2alsLqTkg/52pmQy4zHm7fLezpR5hDM09cRBm6IFF9xWMqzps+3wuxS94SyN4v/ 7iCHUIj5fIid2J60fFMlIfV1mxCY6RTy0t3pblkhHC9DoN3PiIbD5HUOjZBQoLCEyW+WoE z60dcBjqWslhttNDYVbH1VHCx+E7+JOKfpiMgZ7zdWxS5e/zHrXKiGuDDmisM2XpCFngy9 KZTk7v/OFVVZzmc6q/+FVhGJwklwVqiZsOjn7DuXvl/NBwq4o8p8Bj7bqqLO0w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=Ev9mOXC1; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=sGk56ggH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=pass (policy=none) header.from=maniero.me Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E976261AAD for ; Sat, 13 Apr 2024 04:18:17 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=oy+cNNDOUPLPeheYcU5Qi7nwRgBe10Yc3rGx3jWlCks=; c=simple/simple; d=lists.sr.ht; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1712974697; v=1; b=Ev9mOXC1JxiC3GXua+pywG0VjiSuOy5hrr09y4JF7YNTxiHhSpOOkzrzitJCQGp4TjAK19e1 H725gTGhgubrVx1J0vJTinr+2lncAA7VKsexRVvWeOmjmqoHwBMFK7WSJejYbFoRuObhRbvPaDg G9AyRuhLjjZjRcApgNRVRE4g3b2rDcmjMa8S70N5MBKwcukDLMnXLRgIAhGRXMVditG+XxQi0ap UNI+Z0wctQ/rwUwvNGcU65rl7xqQZskn+sQoNRuP7pa5WjdKPc85wjjrR/SB9SSs30tIASIKMtS 89Bv2N4uU31/mxpfIkztbQSxWlaNozDLfekXBvXRMj7Xw== Received: from lists.sr.ht (unknown [IPv6:2a03:6000:1813:1337::154]) by mail-a.sr.ht (Postfix) with ESMTPSA id AF32B20510 for ; Sat, 13 Apr 2024 02:18:17 +0000 (UTC) Received: from dog.elm.relay.mailchannels.net (dog.elm.relay.mailchannels.net [23.83.212.48]) by mail-a.sr.ht (Postfix) with ESMTPS id B1793204E4 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 13 Apr 2024 02:18:16 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F33AC82625 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 13 Apr 2024 02:18:13 +0000 (UTC) Received: from fr-int-smtpout1.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 3A2F382598 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 13 Apr 2024 02:18:13 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712974693; a=rsa-sha256; cv=none; b=lna2LQztRg9FjNcv7NB26liaRWxLFq067biixLOXTqx1Zgurkv8Ru72MBJl80zfVQr/Tef 9rwRezuo0G+KuGvNPP2Pfk7BQFJz03eGwDEijwVLk3hrojnnKbFZQoZtdgWSplJbZ4h3xK opW/GxXM56l07QEQujvUyljOQqmL5/mlS3XWByVVlPra5WVsVZ4eVXmau+v461IEzqIB7I 8FcJwt08YIz4f8n41rxRge0xEmEitqp6NYKc8C/BFgPwO3tqqEvCYJ8fDLeQ1LLdicEU9a xwBJSjm4QaeEIUN5axeY7riEuyu5R21JnBYMAKcuaXF6F/18+3IwQRSaczYbug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1712974693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=HbFzTeWzdj0tAQLp4r28iLA21tsHDjl/HvGYlqfju7Y=; b=xx3sQfNLT9dv+VZYNTErbgT5TAPNFtDWDN7e2ghfbzCv5EADdd05rfhHRKjlx4ZrhBifUy CNFi5cL9xS18sykwFF20cqVJtF5dG7FjrEUzSJWIuHqqKdcAHxFtSnA5Ifo/xal2AJQZbX 0nCb3M21AKP5arNuKHL3Qa5VXL0tXavi8xYw5EtTrlBwLXTGc8QRPDea8z02CDmcEGMjjq S9GRkB4xmY+aCKGSCPxKzc0JGcVjJxLDEZtyQPJJgmMkkSs9gwSH4l9rEOBJqNqQRxpmku S3ljWsQK0b/xLNKcekEpwgv4ToRXHtZXv8B4iwFILlpSO/GNG8P8OQGYZ/TMvQ== ARC-Authentication-Results: i=1; rspamd-6f64594bc9-nk7sq; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Hook-Ruddy: 1f6fc0b172385f40_1712974693748_4284979602 X-MC-Loop-Signature: 1712974693748:4043946829 X-MC-Ingress-Time: 1712974693748 Received: from fr-int-smtpout1.hostinger.io (fr-int-smtpout1.hostinger.io [89.116.146.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.225.188 (trex/6.9.2); Sat, 13 Apr 2024 02:18:13 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1712974691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbFzTeWzdj0tAQLp4r28iLA21tsHDjl/HvGYlqfju7Y=; b=sGk56ggHB2/iJ0LpFoLVrozqx23AcMtvAuiFJb3/WSYIx0idcN596Q+8l8+rPUDuUckyox YMdmk22MhhZwJ1lUIC8gD+rLKwZN90R13yzAzheZuDeHg2tbBVRzzKZZIF04kaKfxN4Q26 0TJymrU3QPp0JFGJmbwhycrcJ/QJyFzJJJBDnVudVqg7FAnb5RhbV+DE6nTHY+0iXutGS6 AdaVPTOrFrhBRiolEbUGO51Vu5XbwMEXBdfUs/RTPVe4Az9WEBa2Xfm1tkuLqO6SgB79OA Pp5vgcHDW1ZiYgL2Dd+hGAAq7hyIzMD7+4OfoH5j6u11LTpIBZnEOkZDDIYrag== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 12 Apr 2024 23:18:06 -0300 Message-Id: From: "Carlos Maniero" To: "Johnny Richard" , Cc: <~johnnyrichard/olang-devel@lists.sr.ht> Subject: Re: [PATCH] fixup! docs: spec: add variables and constants specification X-Mailer: aerc 0.15.2-211-g37d5fc691aff References: <20240411224539.42752-1-ricardo_kagawa@disroot.org> In-Reply-To: X-CM-Analysis: v=2.4 cv=ZKfRm27b c=1 sm=1 tr=0 ts=6619eb63 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=jziKOLAnAAAA:8 a=LEKKprN10WMLuxU0BW4A:9 a=QEXdDO2ut3YA:10 a=BXDaF_L80NY05PYiAFlV:22 a=1ljl-wuu_96014yfT5Vk:22 X-CM-Envelope: MS4xfOULlLXNfkGw/yGHgAEfDuYHahEGE9OCwjkSKU50RfVM34MwIkGhqiweIox2ASb9rq3jt09u40txsRb4jbJDfnkg15VVf0Y8qeppKLmGXmWXutTq8+uy oaENeenJ35i+QQZA7qAofvRENgaj5GqiXUtsVDYKOHoeWcdew3D5y4TPzgbxz+fj/p2v0igOsS3qFtXKP/VCvHu+8+fUFm64mS9wuIF4lVePOox2V0fOSLi3 cxR0r2l9+DegwTFnyiwszUQtmQJ/3xNRZvvASqMnMVz4WKrSYvTpDz7j/MK80xe8 X-AuthUser: carlos@maniero.me List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.71 X-Spam-Score: -8.71 X-Migadu-Queue-Id: E976261AAD X-Migadu-Scanner: mx13.migadu.com X-TUID: lRucSrrzZqeA > Thanks a lot for your contribution, I very impressed you managed to send > a really nice PATCH. > > Sorry for that, but there is another Patchset version which was applied > to the main branch. I think Carlos forgot to mention this Patchset was > SUPERSEDED[v2] by version 2. > > v2: http://lists.johnnyrichard.com/olang/5fzsolce5h42aa6udppiwezgbzeqerkd= e3xvyilidnkcjaho2j@ygxd7ugzck4m/T/#m0f5cc6f2d49835ec83d4fd5c24d97d2597cb536= 3 Sorry Ricardo. My bad! I forgot to update the mailing list saying that this patch was superseded. > > --- > > Discussions: > >=20 > > - Are you planning to hoist declarations, or are declarations required > > to be placed before their use? > > We are planning to have declarations being placed before their use. Just an observation here, this is only valid for external declarations and just inside a function scope. valid: =20 1| fn main(): u8 { 2| return exit_success 3| } 4|=20 4| const exit_success: u8 =3D 0 invalid: 1| const a =3D b + 1 2| const b =3D 0 also invalid: =20 1| fn main(): u8 { 2| exit_success =3D 0 3| 4| var exit_success 4| return exit_success 5| } > Could you please prepare a new patch over the _main_ branch with this > change (if Carlos agree of course)? LGTM! And thank you so much for your contributions Ricardo!