JanetDocsI'm feeling luckyGithub sign in

eval-string



    function
    boot.janet on line 2172, column 1

    (eval-string str)
    
    Evaluates a string in the current environment. If more control over
    the environment is needed, use run-context.


1 exampleSign in to add an example
Loading...
(eval-string "(+ 1 2 3 4)") # -> 10
(eval-string ")") # -> parse error
(eval-string "(bloop)") # -> compile error
(eval-string "(+ nil nil)") # -> runtime error
swlkr