From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CHRwHZxnB2a1MAEAqHPOHw:P1 (envelope-from ) for ; Sat, 30 Mar 2024 02:15:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CHRwHZxnB2a1MAEAqHPOHw (envelope-from ) for ; Sat, 30 Mar 2024 02:15:08 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; none 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 6A2BF62A2E for ; Sat, 30 Mar 2024 02:15:05 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=bnMZR7s9homSSpBxZjxkjmDxCKQqfzLFa7huij5W2nA=; c=simple/simple; d=lists.sr.ht; h=Date:To:Cc:Subject:From:References:In-Reply-To:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1711761305; v=1; b=Wdw1UrboiufUtl6xQHbbK17Gm2MOCKRysjB3c571y9zlnb8kuXbtN0jTttrpsK87fssOcqKU ZlbA53iMFUDA8mpImBgWVrPSveqbM1DV7LLh6Uyw/R7sjiswOL760pKz5hbzjC9fku7VaMhWHZl puGeBoyiodOPtcDqbZQKAH+tsWJycYiv5ptHOqDAfF0JxrrgtbsylCczqopB4Rpd3CCFlY6AGqR y5RXa+n3Tvas9eUUiaAqcbrHd24teWnNZQ6sX23Z4SUNOZxdDWwhswIlXqsStk3Seqj+7yDNASI FjH2rg+/QUa6TjYjdQ8ZPQC5OKY7EbQUFaOqwTTCt3fpA== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 37267202DE for ; Sat, 30 Mar 2024 01:15:05 +0000 (UTC) Received: from insect.birch.relay.mailchannels.net (insect.birch.relay.mailchannels.net [23.83.209.93]) by mail-a.sr.ht (Postfix) with ESMTPS id 0B4AB202D5 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 30 Mar 2024 01:15:03 +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 61223800514 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 30 Mar 2024 01:15:02 +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 B30408009CE for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 30 Mar 2024 01:15:01 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1711761302; a=rsa-sha256; cv=none; b=aTC4C/3oPx/q1t03+gW50DeZRogEFZXp6IU2xdp5ikNnaCIGlm28kBLAc//vA79qnD+Q+V G3E8gsrJG0tcJtrf+q11oCjy3QoAgEveowBA5WF7fXxsnILuo1jQB6drjziywCeP4TtBCo BVkOkLpD7heWOfSUd4UZTzf6jS1lAOhklFn7glZOmZ9vj5mMWc0DHruyDYyhZwr+db5T1B 71yFNYH9fa4JpknlgzUeJ9UC7HSKT70Z1EKmQhn+iDG+JMoqQe33iGSf/SSwiCbOxMkqjs xHG1Tcb1fq6d0iYnlD2sy8NdUddDskiNAeizUdjFo6T0cnLAuTyGHbn/AZukSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1711761302; 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=PWC+JHUPkq92H6WJzAXjIcaVG1TzjmDSwF6W206SIXI=; b=eL5LGzn0no0c/2OC2/hCyP8IMeTD89znyVcQFHeiJjo8Fhkwim7gwtnkHWj2YHpVhiX2/4 r0qiWjO4dwtdDsazYIEKFncapbhgubUjYMw6fAfBUAIJuDp5D00ku7khABE8C+Of4qgr1E SBqOH8A5QEBaabywhcEkV3svQ39mciLPbONuvRGOU1i30yrYuOxwsQca2ocXOhnoAdcCWz Pa1FBFiavvef5Qc9pcYtrmnHny8i4e2gvyQztptMk9KeTqnBdYchylhwVumzY1ePamOW89 BnwVh4Ar/9VHZ2wAYUZkdJpRXrGSrZRf0GGFrKjnm1/GW9+7MZkLGgwFgfKPpQ== ARC-Authentication-Results: i=1; rspamd-699949c56f-cg65m; 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-Cure-Sponge: 096b46437582eaf6_1711761302265_2796082375 X-MC-Loop-Signature: 1711761302265:3378469363 X-MC-Ingress-Time: 1711761302265 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.126.216.122 (trex/6.9.2); Sat, 30 Mar 2024 01:15:02 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1711761300; 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=PWC+JHUPkq92H6WJzAXjIcaVG1TzjmDSwF6W206SIXI=; b=R2tHgDQwb9pHqTYfM9vmNZDJxsBi2YkEToRBRuZOrAxGwfRNRR4eTKG8e+D8u44PXOGKbs BnycqqiZoQa6+ajexGVj2P0Ew7tVnL3l+ZgwSjXU5sD6Qur8g2K8/3mQAh5F6CQwF3S4DV R6pa9f90Y+nB4HrOQviFEjeH2xuPSn3/mz2jNgQXX93ysRA29wiIeU/aoDDEDPWaHaMx7L eOJrhNj5jsvZsu1X2Hu8Q8cn7x8W1yRdB5bv6dxsC+5eMRqLmetPDjCrhXM+flxOIzyycm lDz2Rr1NPOi7IAtAA+v6lC79FHUG+zLoOzhZNqJp8H9LCcyHc1cTzXxHucJw2g== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 29 Mar 2024 22:14:56 -0300 Message-Id: To: "Johnny Richard" Cc: <~johnnyrichard/olang-devel@lists.sr.ht> Subject: Re: [PATCH olang v1 2/2] docs: spec: add variables and constants specification From: "Carlos Maniero" X-Mailer: aerc 0.15.2-211-g37d5fc691aff References: <20240327032128.406911-1-carlos@maniero.me> <20240327032128.406911-3-carlos@maniero.me> In-Reply-To: X-CM-Envelope: MS4xfLw8cpO5z0oxygNTdzgGgI7jm8eTBi605jCaK7yEPlVT5nMlNjldiszRo5ZEMjFx0xlmwbqvIN/TN4RHYcr2+P0cITBQyH6d1Tztop78mwKr/eFRsaKA uLK/z/tyB6XeGbBmkcbS2UO7EjWwkeFIdce8gq4CTL/lFLelOuIx4QTtPaIiEA7Yzn6vvdKiaYk+0xAXsljNi03Xn0FXtSRWzpuWhDZR+SbSM7FiXEe69FmL 7oj1o/nIsn8Nnoaz2HnqxQ== X-CM-Analysis: v=2.4 cv=OPEh3zaB c=1 sm=1 tr=0 ts=66076793 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=LpJ9NfjG5v4-QAMxWxoA:9 a=QEXdDO2ut3YA:10 a=BXDaF_L80NY05PYiAFlV:22 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-Flow: FLOW_IN X-Migadu-Country: NL X-Spam-Score: -4.00 X-Migadu-Queue-Id: 6A2BF62A2E X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.00 X-TUID: L7aJY8BXbpYy > + ::=3D '=3D' > + | '*=3D' > + | '/=3D' > + | '%=3D' > + | '+=3D' > + | '-=3D' > + | '<<=3D' > + | '>>=3D' > + | '&=3D' > + | '^=3D' > + | '|=3D' I believe we may need two non-terminals, one for assignment which is just the '=3D' and other for reassignments. The statements *const x: u32 +=3D 1* is valid in the language but it is not valid, but I'm not sure if it also isn't a semantic issue that most ignored for the simplicity of the spec.=20 Anyway, since you already addressed most of the issues in the spec I propose, few free to send a v2 or let me know what you think about the points I raised so then I can proceed with a new version.