{"id":50955,"library":"go-toolsmith-strparse","title":"strparse","description":"Package strparse provides convenience wrappers around go/parser for parsing expressions, statements, and declarations from strings.","status":"active","version":"1.1.0","language":"go","source_language":null,"source_url":"https://github.com/go-toolsmith/strparse","tags":["ast","parser","go-toolsmith","string"],"install":[{"cmd":"go get github.com/go-toolsmith/strparse","lang":"bash","label":"Install github.com/go-toolsmith/strparse"}],"dependencies":[],"imports":[{"symbol":"strparse","correct":"github.com/go-toolsmith/strparse"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/go-toolsmith/strparse\"\n)\n\nfunc main() {\n\texpr := strparse.Expr(`1 + 2`)\n\tfmt.Printf(\"%T\\n\", expr)\n}","lang":"go","description":"Parse a Go expression from a string into an AST node."},"warnings":[],"env_vars":null,"search_vec":"'around':7 'ast':17 'conveni':5 'declar':14 'express':11 'go':20 'go-toolsmith':19 'go/parser':8 'packag':2 'pars':10 'parser':18 'provid':4 'statement':12 'string':16,22 'strpars':1,3 'toolsmith':21 'wrapper':6","created_at":"2026-06-15T05:15:27.051519+00:00","updated_at":"2026-06-15T05:15:27.051519+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-toolsmith/strparse","github":"https://github.com/go-toolsmith/strparse","docs":"https://pkg.go.dev/github.com/go-toolsmith/strparse#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}