> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/syntax_and_semantics/constructs/loop.md).

# Loop

An infinite loop can be created using the `loop` keyword:

```ruby
loop {
    say "Hello, world!"
}
```
