{"id":17912646,"url":"https://github.com/danielgatis/go-ruby-prism","last_synced_at":"2025-04-28T13:43:21.962Z","repository":{"id":227563096,"uuid":"771794112","full_name":"danielgatis/go-ruby-prism","owner":"danielgatis","description":"The Ruby Prism parser bindings to GO (without cgo)","archived":false,"fork":false,"pushed_at":"2025-02-13T21:19:39.000Z","size":1877,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T10:11:15.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielgatis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-14T00:47:00.000Z","updated_at":"2025-01-06T20:01:38.000Z","dependencies_parsed_at":"2025-01-28T04:20:44.585Z","dependency_job_id":"42709ac6-8571-43f2-b9eb-8b51ea0c28b9","html_url":"https://github.com/danielgatis/go-ruby-prism","commit_stats":null,"previous_names":["danielgatis/go-ruby-prism"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-ruby-prism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-ruby-prism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-ruby-prism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-ruby-prism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgatis","download_url":"https://codeload.github.com/danielgatis/go-ruby-prism/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251321439,"owners_count":21570739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T19:46:20.931Z","updated_at":"2025-04-28T13:43:21.938Z","avatar_url":"https://github.com/danielgatis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ruby-prism\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/danielgatis/go-ruby-prism?style=flat-square)](https://goreportcard.com/report/github.com/danielgatis/go-ruby-prism)\n[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/danielgatis/go-ruby-prism/master/LICENSE)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/danielgatis/go-ruby-prism)\n\nThe go-ruby-prism is package that leverages the Ruby Prism parser compiled to WebAssembly for parsing Ruby code without the need for CGO.\n\n## Features\n\n- **CGO-Free**: Go-Ruby-Prism utilizes the [Ruby Prism parser](https://github.com/ruby/prism) compiled to WebAssembly, eliminating the need for CGO bindings.\n- **Simplified Integration**: Seamlessly integrate Ruby code parsing into your Go applications with minimal setup.\n- **High Performance**: Harnesses the efficiency of WebAssembly for speedy and efficient parsing of Ruby code.\n- **Cross-Platform**: Works across various platforms supported by Go, ensuring compatibility in diverse environments.\n\n## Usage\n\nHere's a basic example demonstrating how to use this package:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\tparser \"github.com/danielgatis/go-ruby-prism/parser\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\tp, _ := parser.NewParser(ctx)\n\tsource := \"puts 'Hello, World!'\"\n\tresult, _ := p.Parse(ctx, source)\n\tfmt.Println(result)\n}\n```\n\nYou can find more examples in the examples folder.\n\n\n## License\n\nCopyright (c) 2024-present [Daniel Gatis](https://github.com/danielgatis)\n\nLicensed under [MIT License](./LICENSE.txt)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fgo-ruby-prism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgatis%2Fgo-ruby-prism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fgo-ruby-prism/lists"}