* [PATCH olang v1] docs: info: add while-loop to getting started
@ 2024-10-09 14:53 Johnny Richard
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Johnny Richard @ 2024-10-09 14:53 UTC (permalink / raw)
To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
---
docs/info/getting-started.texi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/docs/info/getting-started.texi b/docs/info/getting-started.texi
index a68f5b1..4cb2e26 100644
--- a/docs/info/getting-started.texi
+++ b/docs/info/getting-started.texi
@@ -78,6 +78,14 @@ if expr {
}
@end verbatim
+While loop
+
+@verbatim
+while expr {
+ # statement
+}
+@end verbatim
+
@section Primitive data types
@table @samp
base-commit: 02149b6ddd0bfc6f4e4774eb928e41031889cd73
--
2.46.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [olang/patches/.build.yml] build success
2024-10-09 14:53 [PATCH olang v1] docs: info: add while-loop to getting started Johnny Richard
@ 2024-10-09 12:54 ` builds.sr.ht
2024-10-09 22:20 ` [PATCH olang] fixup! docs: info: add while-loop to getting started Carlos Maniero
2024-10-16 19:52 ` [PATCH olang v1] " Carlos Maniero
2 siblings, 0 replies; 5+ messages in thread
From: builds.sr.ht @ 2024-10-09 12:54 UTC (permalink / raw)
To: Johnny Richard; +Cc: ~johnnyrichard/olang-devel
olang/patches/.build.yml: SUCCESS in 22s
[docs: info: add while-loop to getting started][0] from [Johnny Richard][1]
[0]: https://lists.sr.ht/~johnnyrichard/olang-devel/patches/55401
[1]: mailto:johnny@johnnyrichard.com
✓ #1347667 SUCCESS olang/patches/.build.yml https://builds.sr.ht/~johnnyrichard/job/1347667
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH olang] fixup! docs: info: add while-loop to getting started
2024-10-09 14:53 [PATCH olang v1] docs: info: add while-loop to getting started Johnny Richard
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
@ 2024-10-09 22:20 ` Carlos Maniero
2024-10-16 21:44 ` Johnny Richard
2024-10-16 19:52 ` [PATCH olang v1] " Carlos Maniero
2 siblings, 1 reply; 5+ messages in thread
From: Carlos Maniero @ 2024-10-09 22:20 UTC (permalink / raw)
To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH olang v1] docs: info: add while-loop to getting started
2024-10-09 14:53 [PATCH olang v1] docs: info: add while-loop to getting started Johnny Richard
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-09 22:20 ` [PATCH olang] fixup! docs: info: add while-loop to getting started Carlos Maniero
@ 2024-10-16 19:52 ` Carlos Maniero
2 siblings, 0 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-10-16 19:52 UTC (permalink / raw)
To: Johnny Richard, ~johnnyrichard/olang-devel
Applied Thanks!
To git.sr.ht:~johnnyrichard/olang
33c5e25..f0c9d1c main -> main
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-16 19:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-09 14:53 [PATCH olang v1] docs: info: add while-loop to getting started Johnny Richard
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-09 22:20 ` [PATCH olang] fixup! docs: info: add while-loop to getting started Carlos Maniero
2024-10-16 21:44 ` Johnny Richard
2024-10-16 19:52 ` [PATCH olang v1] " Carlos Maniero
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox