# eval Evaluate a string as Deft source code and return the result. ## Syntax
[eval $source]
## Parameters - `$source` — Deft source code string. ## Examples
[eval "(1 + 2)"]              # 3
[eval "[str \"hi\" \"there\"]"]  # "hithere"
def prog "[map @{1 2 3} { ($it * $it) }]"
def result [eval $prog]       # @{ 1 4 9 }
## Returns The value of the final expression, or nil if the source is empty. ## See Also `reload`, `in-ns`, `info/resolve`, `apply`