JanetDocsPlaygroundI'm feeling luckyGitHub sign in

parse



    function
    boot.janet on line 2345, column 1

    (parse str)

    Parse a string and return the first value. For complex parsing, 
    such as for a repl with error handling, use the parser api.


2 examplesSign in to add an example
Loading...
(parse "(+ 4 5)") # => (+ 4 5)
(type (parse "(+ 4 5)")) # => :tuple
skuzzymigletPlayground
(parse "[:a :b :c]") # => [:a :b :c]
sogaiuPlayground