From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OHUwHbcBB2fuZQEAe85BDQ:P1 (envelope-from ) for ; Thu, 10 Oct 2024 00:20:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OHUwHbcBB2fuZQEAe85BDQ (envelope-from ) for ; Thu, 10 Oct 2024 00:20:39 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=L3FY3Yzk; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=L6xX4oK2; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1728512439; a=rsa-sha256; cv=pass; b=1QuIOQUXenoXq7rkOK70IJRKwQ20dOoKH+5hMW5zrmfalLSABcqac/pS20pO9ATFXLBnqn 1XQjD3T6q/nhbo0x20K/dUhxUorLuHsJk7FyDegLOukU8oOZtZZnmzZA5IMOKiDHyzLRh5 qpsB+VxqPBeUQtVXXc3gX0lFsk85aZ1acn1lmx+6ql7OgHK2nSBfsf5HzcclqUv8jy5j59 ccXim17Ve2jDd4QMJgCQdXs1iY7av67L3mS1prpQRcl/ZEilz7aKxIDnEo4LJ08EFmaTzO iIrIXVKqKgf5BQz5vQ2CX1IU3FsmcwWQQ2F7LeajlcA8HkWmYpWoGHhud1sVyg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=L3FY3Yzk; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=L6xX4oK2; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728512439; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=iwF9GHPCFre6JqrfFDay7WgbdZfh1TPCXwS4+u6C4zU=; b=4VyADc7KVWACLWu+4+c8pM6HVTQmrSBQuF3Pu1MkkecL0bZ7Ur52vn0LhSVAE38PNdgWZ9 tJnumh2wa0jNYtYE4m+tw0oA1ZZTEEtNg8+mCKaH7Zek+/pqPZSpUFveKBNaoCmgogyTPd vjUls/RkaVbks0lt+BUSyK9q4mM8p7vsMmnpp5oaeNejC9Oj2/PtSAlNq5k4VD+Pk2+b0Y ttHKJzAU54B8SsxlrDC4IQxe+ePU83n+7+5rFJaGeI8dA/1UltmKv/BHypf38EIoqPSuCs Ilg1Mldw9bif2BVEgZujmoAvwcW0c7/Rp+n4XNm+HuMUdyl3TuoIPJGpd24E3g== 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 041F1855CF for ; Thu, 10 Oct 2024 00:20:39 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=/cmDK8mQBb/Wmo07VCognS4PMX0JMen81frf4ScfGJY=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:In-Reply-To:References:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1728512438; v=1; b=L3FY3Yzkha9mXHBrAricMexw40L3pjWiro/wAd3IJgT5O3BJrImUkGqxCTKmUwemWdad0YsS YQr1tY12fKuPzdEM9LA/TClxQhGWDknAiGcbFOWo922rDnPaVWQ+7navbFR2MylN98WJhFQ1e1a 9iYVuZDUZALBrkerMe5uly7QFquKFYqKpHLFfrx4czQS2bB1yLTz9VGhFqWiNrGgCuiF0W1OS0w gZVDqRmeoXFmw9b8ikxqLrkt0PY07mgj1cb/D0XddYzBZdCqKFv3q8LBllMOEzettQMpK6ziqwM Xn+VZaTOvVsEDaUH0ULS3YH3dLKAWgIVn5FZCHOZyjqNw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id BF07920128 for ; Wed, 09 Oct 2024 22:20:38 +0000 (UTC) Received: from olivedrab.birch.relay.mailchannels.net (olivedrab.birch.relay.mailchannels.net [23.83.209.135]) by mail-a.sr.ht (Postfix) with ESMTPS id 01D03200B8 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 09 Oct 2024 22:20:36 +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 89BB0944039 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 9 Oct 2024 22:20:34 +0000 (UTC) Received: from nl-srv-smtpout1.hostinger.io (trex-10.trex.outbound.svc.cluster.local [100.96.89.196]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 8CD3F946860 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 9 Oct 2024 22:20:33 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1728512433; a=rsa-sha256; cv=none; b=LoPpiwSEtXf5JMtYhksLJe2TZOFmQQbkdlj3y71PKpc8tHvDorUklGbZNw639XA0wHobQx w3ubd802cks0W0wBM/kUGpq2T/lm/fi9KR9239xMu/CZAwZZFne8o8wvGNKwTzXH/IFbQj TJY9VhtzmgklJDKMF0D88dIV7SyRVWhjVwU5BrTgjN1zhMWRhn3DagUaMI6CuHb9kAunsm tyBhg4RUMNFqmnlXlN22N0/N2pw3NVQ911SguFaK5t19uZiGJyKyF+cujxn3FYpW1MMvEe 96kc4XEc/1U51qX1Wl7rfmWa1CVRjuAvuYTSHYwUN5Rg+dSxR1qp+LYJW9qQKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1728512433; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=iwF9GHPCFre6JqrfFDay7WgbdZfh1TPCXwS4+u6C4zU=; b=vuA91MYNFVAtUZFMDzWhkCOJ0HIyOS2NSgnJfG6PiwBtHDPYZelkE4ukdONCgok11H4JIR apYfXkD1iYCjs725p3nYE9/TNAgQ2lC7F28boqiMa6h0guE/XwJ7mFE2Z5mNpSy6GLhcgF i0Uw8SFGXQyL/BFz5LA7uYzAy5w9N9cizZZYlFoOnHEJRTmb7LABTPoullAhigfuNBVDO2 XJpY8Ikhc82LtyeV4CSIn31bVliQBof5EzK/58wuRxKLdPaGENGp2O4/gqYxCVSw4MX3Ep iyh+RbAclLC23B26QLSnQYwVb5oyTYY67w5YxR7ArYB9IfBJn+o5ri1rw/yg5A== ARC-Authentication-Results: i=1; rspamd-5fcd6bf96c-nsnpd; 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-Share-Thread: 529a8d7a24ad8f10_1728512434069_3857043979 X-MC-Loop-Signature: 1728512434069:594309702 X-MC-Ingress-Time: 1728512434069 Received: from nl-srv-smtpout1.hostinger.io (nl-srv-smtpout1.hostinger.io [145.14.150.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.89.196 (trex/7.0.2); Wed, 09 Oct 2024 22:20:34 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1728512431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iwF9GHPCFre6JqrfFDay7WgbdZfh1TPCXwS4+u6C4zU=; b=L6xX4oK2ZSf6sd2BByxoUgLi9FPZX5acbkVVzPxlU8usRiL3+0F60MzB2/4K2Okm9aBpCu PyojBZBZ59LvnBowXbcAoM75QHLnk0hUMpz5atWfU2qeNkJaKz0KjNPgCP5TNl5k0OARci IRKZpzThke/vp0D9K111fK6cIUiH+ss83ueiNKxSLfRujBdAP0DgDAV64oFOqUbi/fE66S tCKAsu8cVoJ8IwZXu9HYkN3kfShAuYsb582BMztRDwz57IUVbRFWn9ax5RW8itUJt5IEuW CQtcW9PfOavhfr4C9HhiaFcwdV2d/6R+diEheSrTecJmDYPZlgQMqVnduaTFDg== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang] fixup! docs: info: add while-loop to getting started Message-ID: <20241009221652.209738-2-carlos@maniero.me> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009145402.318542-1-johnny@johnnyrichard.com> References: <20241009145402.318542-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 09 Oct 2024 22:20:30 +0000 (UTC) X-CM-Envelope: MS4xfAfD4dLi9N3NeTdR6bueCv43MgC3igSHsCrbuOLfD34t+rCTCtjbHnL6IbWB51tKP+DF9P8kCp9AKKfl0INarRntHEIOLGN4YRPgDbx15PqROKQV6SCj Z4sUq49LmaZdoSGbmuYIG3xDMd/q1ru9lfwW67AQ5cyoLlxP1gaaW8XPBNsE1380vEhI4vaNaTDQTAoXO3aPBfrPa4T/a90gZxe2niv97GeuYNEHbUDge9o9 X-CM-Analysis: v=2.4 cv=bZY5U/PB c=1 sm=1 tr=0 ts=670701af a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=E5KgFO4ZZ1RTdC_GksIA:9 a=BXDaF_L80NY05PYiAFlV:22 X-AuthUser: carlos@maniero.me X-Sourcehut-Patchset-Status: UNKNOWN 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: -5.69 X-Spam-Score: -5.69 X-Migadu-Queue-Id: 041F1855CF X-Migadu-Scanner: mx10.migadu.com X-TUID: xVzlPPMg92f+ The If-else does not have title but the while has. WDYT about adding subsection for them both? I'm leaving it approved anyway it is just a suggestion. ---->8---- Subject: [PATCH olang] fixup! docs: info: add while-loop to getting started --- docs/info/getting-started.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/info/getting-started.texi b/docs/info/getting-started.texi index 4cb2e26..42b1438 100644 --- a/docs/info/getting-started.texi +++ b/docs/info/getting-started.texi @@ -68,6 +68,8 @@ var answer: u32 = 42 Any non zero expr is true. +@subsection If-Else + @verbatim if expr { # statement @@ -78,7 +80,7 @@ if expr { } @end verbatim -While loop +@subsection While loop @verbatim while expr { -- 2.46.0