public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [olang/patches/.build.yml] build success
  2024-10-16 21:43 [PATCH olang v2] docs: info: add while-loop to getting started Johnny Richard
@ 2024-10-16 19:44 ` builds.sr.ht
  2024-10-17  0:23 ` [PATCH olang v2] docs: info: add while-loop to getting started Carlos Maniero
  1 sibling, 0 replies; 3+ messages in thread
From: builds.sr.ht @ 2024-10-16 19:44 UTC (permalink / raw)
  To: Johnny Richard; +Cc: ~johnnyrichard/olang-devel

olang/patches/.build.yml: SUCCESS in 30s

[docs: info: add while-loop to getting started][0] v2 from [Johnny Richard][1]

[0]: https://lists.sr.ht/~johnnyrichard/olang-devel/patches/55509
[1]: mailto:johnny@johnnyrichard.com

✓ #1352065 SUCCESS olang/patches/.build.yml https://builds.sr.ht/~johnnyrichard/job/1352065

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH olang v2] docs: info: add while-loop to getting started
@ 2024-10-16 21:43 Johnny Richard
  2024-10-16 19:44 ` [olang/patches/.build.yml] build success builds.sr.ht
  2024-10-17  0:23 ` [PATCH olang v2] docs: info: add while-loop to getting started Carlos Maniero
  0 siblings, 2 replies; 3+ messages in thread
From: Johnny Richard @ 2024-10-16 21:43 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
---
 docs/info/getting-started.texi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/info/getting-started.texi b/docs/info/getting-started.texi
index a68f5b1..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,6 +80,14 @@ if expr {
 }
 @end verbatim
 
+@subsection While loop
+
+@verbatim
+while expr {
+  # statement
+}
+@end verbatim
+
 @section Primitive data types
 
 @table @samp

base-commit: cf5e4abf07a38f0ddf3ac6979b01b942ab99a691
-- 
2.46.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH olang v2] docs: info: add while-loop to getting started
  2024-10-16 21:43 [PATCH olang v2] docs: info: add while-loop to getting started Johnny Richard
  2024-10-16 19:44 ` [olang/patches/.build.yml] build success builds.sr.ht
@ 2024-10-17  0:23 ` Carlos Maniero
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos Maniero @ 2024-10-17  0:23 UTC (permalink / raw)
  To: Johnny Richard, ~johnnyrichard/olang-devel

Applied!

To git.sr.ht:~johnnyrichard/olang
   f8968c4..9c38120  main -> main

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-17  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-16 21:43 [PATCH olang v2] docs: info: add while-loop to getting started Johnny Richard
2024-10-16 19:44 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-17  0:23 ` [PATCH olang v2] docs: info: add while-loop to getting started 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