{"id":31917738,"url":"https://github.com/freysie/perl-core","last_synced_at":"2026-04-14T23:33:38.427Z","repository":{"id":54198088,"uuid":"450973205","full_name":"freysie/perl-core","owner":"freysie","description":"Evaluate Perl code from within apps on Apple platforms.","archived":false,"fork":false,"pushed_at":"2024-03-09T21:38:26.000Z","size":13342,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T07:38:57.658Z","etag":null,"topics":["interoperability","perl","swift"],"latest_commit_sha":null,"homepage":"https://freyaalminde.github.io/documentation/perlcore","language":"C","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/freysie.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2022-01-23T00:59:45.000Z","updated_at":"2022-07-21T04:29:19.000Z","dependencies_parsed_at":"2025-10-13T20:56:33.042Z","dependency_job_id":null,"html_url":"https://github.com/freysie/perl-core","commit_stats":{"total_commits":53,"total_committers":4,"mean_commits":13.25,"dds":0.4339622641509434,"last_synced_commit":"83aaa85bf362d54e60fd4975a466f39a9412472e"},"previous_names":["freysie/perl-core"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/freysie/perl-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fperl-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fperl-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fperl-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fperl-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freysie","download_url":"https://codeload.github.com/freysie/perl-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fperl-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31819828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["interoperability","perl","swift"],"created_at":"2025-10-13T20:45:19.220Z","updated_at":"2026-04-14T23:33:38.398Z","avatar_url":"https://github.com/freysie.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PerlCore\n\nEvaluate Perl code from within an app, and support Perl scripting of your app.\n\n\n## Installation\n\n```swift\n.package(url: \"https://github.com/freysie/perl-core.git\", from: \"0.1.0\")\n```\n\n```swift\nimport PerlCore\n```\n\n\n## Documentation\n\nOnline documentation is available at [freysie.github.io/documentation/perlcore](https://freysie.github.io/documentation/perlcore/).\n\n\n## Overview\n\nThe PerlCore framework provides the ability to evaluate Perl code from within Swift-based apps. You can also use PerlCore to insert custom objects into the Perl environment.\n\n```swift\nlet interpreter = PerlInterpreter.shared\ninterpreter[\"prefix\"]!.asString = \"Just \"\nlet script = \"$prefix . reverse q(rekcaH lreP rehtonA)\"\nlet result = interpreter.evaluateScript(script)\nassert(result.asString == \"Just Another Perl Hacker\")\n```\n\nPerlCore 0.1.0 includes Perl 5.30.3.\n\n\n## Roadmap\n\nThe ability to create multiple interpreters may be added, and `PerlInterpreter.shared` removed. (This requires building Perl with `-Dusemultiplicity`.)\n\nTo better support the App Store guidelines, all modules should ideally be embedded in the binary. In this case, to avoid bloat, a script for customizing the Perl distribution may be added. \n\nA complete build script for building `libperl.xcframework` for every platform is currently under development.\n\n\n## Acknowledgements\n\nBased on [Dan Kogai’s blog post about Perl in Swift](https://qiita.com/dankogai/items/d63dfda25088165deed5).\n\nUses [`perl-cross` by Alex Suykov](https://github.com/arsv/perl-cross) for cross-compiling Perl.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreysie%2Fperl-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreysie%2Fperl-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreysie%2Fperl-core/lists"}