{"id":28816886,"url":"https://github.com/babashka/pod-babashka-instaparse","last_synced_at":"2026-03-17T04:32:37.296Z","repository":{"id":65240028,"uuid":"588897988","full_name":"babashka/pod-babashka-instaparse","owner":"babashka","description":"Instaparse pod","archived":false,"fork":false,"pushed_at":"2026-03-06T12:27:01.000Z","size":55,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-06T15:28:57.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babashka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"borkdude","open_collective":"babashka","ko_fi":"borkdude"}},"created_at":"2023-01-14T12:04:44.000Z","updated_at":"2026-03-06T12:27:04.000Z","dependencies_parsed_at":"2024-04-18T17:00:55.334Z","dependency_job_id":"599a6103-1edb-44fd-86d3-b832010d46f0","html_url":"https://github.com/babashka/pod-babashka-instaparse","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/babashka/pod-babashka-instaparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babashka%2Fpod-babashka-instaparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babashka%2Fpod-babashka-instaparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babashka%2Fpod-babashka-instaparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babashka%2Fpod-babashka-instaparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babashka","download_url":"https://codeload.github.com/babashka/pod-babashka-instaparse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babashka%2Fpod-babashka-instaparse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30609907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-16T23:44:20.790Z","status":"online","status_checked_at":"2026-03-17T02:00:07.764Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-18T17:07:31.979Z","updated_at":"2026-03-17T04:32:37.284Z","avatar_url":"https://github.com/babashka.png","language":"Clojure","funding_links":["https://github.com/sponsors/borkdude","https://opencollective.com/babashka","https://ko-fi.com/borkdude"],"categories":[],"sub_categories":[],"readme":"# pod-babashka-instaparse\n\nA pod exposing [Instaparse](https://github.com/Engelberg/instaparse) to babashka.\n\nIt's recommended to use this pod via the [instaparse.bb](https://github.com/babashka/instaparse.bb) library.\n\n## API\n\nOnly a subset of instaparse is exposed. If you are missing functionality, please create an issue.\n\n### pod.babashka.instaparse\n\n- `parser`\n- `parse`\n- `parses`\n- `failure?`\n- `span`\n- `add-line-and-column-info-to-metadata`\n\n## Differences with instaparse\n\n- Parser only works on a string grammar input\n- The result of `parser` must be used with `parse` or `parses`, it cannot be called as a function directly\n\n## Example\n\n``` clojure\n(require '[babashka.pods :as pods])\n\n(pods/load-pod 'org.babashka/instaparse \"0.0.7\")\n\n;; loading the pod creates the instaparse.core namespace\n\n(require '[pod.babashka.instaparse :as insta])\n\n(def as-and-bs\n  (insta/parser\n   \"S = AB*\n    AB = A B\n    A = 'a'+\n    B = 'b'+\"))\n\n(prn (insta/parse as-and-bs \"aaaaabbbaaaabb\"))\n\n(def failure (insta/parse as-and-bs \"xaaaaabbbaaaabb\"))\n\n(prn failure)\n\n(prn :failure? (insta/failure? failure))\n```\n\n## Build\n\nRun `script/compile`. This requires `GRAALVM_HOME` to be set.\n\n## Test\n\nTo test the pod code with JVM clojure, run `clojure -M test.clj`.\n\nTo test the native image with bb, run `bb test.clj`.\n\n## License\n\nCopyright © Michiel Borkent\n\nDistributed under the EPL 1.0 license, same as Instaparse and Clojure. See LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabashka%2Fpod-babashka-instaparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabashka%2Fpod-babashka-instaparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabashka%2Fpod-babashka-instaparse/lists"}