> 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/programming_tasks/r/runtime_evaluation.md).

# Runtime evaluation

The eval method evaluates a string as code and returns the resulting object.

```ruby
var (a, b) = (-5, 7)
say eval 'abs(a * b)'   # => 35
say abs(a * b)          # => 35
```
