parse

parse given string as an Arturo value


Parameters

parse code :string :block

Attributes

data parse input as Arturo data block (unstable!)

Returns

  • :any

Examples

copy
parse "123" ; 123 (:integer) parse "3.14" ; 3.14 (:floating) parse "true" ; true (:logical) parse "[1 2 3]" ; [1 2 3] (:block)

Related