{"id":14966164,"url":"https://github.com/yaml/yaml-libyaml-perl6","last_synced_at":"2025-10-19T11:32:00.656Z","repository":{"id":66047242,"uuid":"91731369","full_name":"yaml/yaml-libyaml-perl6","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-12T20:20:16.000Z","size":102,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-29T16:21:31.811Z","etag":null,"topics":["emitter","libyaml","parser","perl6","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaml.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}},"created_at":"2017-05-18T19:42:03.000Z","updated_at":"2023-04-14T18:51:34.000Z","dependencies_parsed_at":"2023-03-29T00:19:23.143Z","dependency_job_id":null,"html_url":"https://github.com/yaml/yaml-libyaml-perl6","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.5294117647058824,"last_synced_commit":"d9f6e0cc56ff8f45cdb94676ac81b7e5f2ffda46"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-libyaml-perl6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-libyaml-perl6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-libyaml-perl6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-libyaml-perl6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/yaml-libyaml-perl6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237117251,"owners_count":19258377,"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":["emitter","libyaml","parser","perl6","yaml"],"created_at":"2024-09-24T13:35:56.944Z","updated_at":"2025-10-19T11:32:00.198Z","avatar_url":"https://github.com/yaml.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perl6 LibYAML\n\n[![Build Status](https://travis-ci.org/yaml/yaml-libyaml-perl6.svg)](https://travis-ci.org/yaml/yaml-libyaml-perl6)\n\nA [Perl 6](https://perl6.org/) interface to\n[LibYAML](https://github.com/yaml/libyaml), a [YAML](http://yaml.org/)\n1.1 parser and emitter.\n\n# INSTALLATION\n\nYou must get and install [libyaml](https://github.com/yaml/libyaml)\nfirst. Then you can install LibYAML with zef:\n\n    zef install LibYAML\n\n## Install from Sources\n\nYou can install this LibYAML module from source (optionally also using the\nlibyaml C code sources) like this:\n\n    $ git clone https://github.com/yaml/yaml-libyaml-perl6\n    $ git clone https://github.com/yaml/libyaml\n    $ (cd libyaml; make -f .makefile)\n    $ export LD_LIBRARY_PATH=$PWD/libyaml/src/.libs\n    $ cd perl6-libyaml\n    $ zef install .\n\n# Examples\n\nNote: This is a parser and emitter. The interface will probably change.\nIf you want to load and dump YAML, take a look at\n[YAML.pm6](https://github.com/yaml/yaml-perl6).\n\n    use LibYAML;\n\n    my $parser = LibYAML::Parser.new;\n\n    my $emitter = LibYAML::Emitter.new(...options...);\n\nOriginally LibYAML combined loading and parsing, dumping and emitting.  The load\nand dump parts have been extracted, modified and moved to yaml/yaml-perl6.\n\nDocumentation will be added when we figure out the API we want to use.\n\n# Emitter options\n\n    :encoding = YAML_ANY_ENCODING\n                YAML_UTF8_ENCODING (default)\n                YAML_UTF16LE_ENCODING\n                YAML_UTF16BE_ENCODING\n\n    :sequence-style = YAML_BLOCK_SEQUENCE_STYLE (default)\n                      YAML_FLOW_SEQUENCE_STYLE\n\n    :mapping-style = YAML_BLOCK_MAPPING_STYLE (default)\n                     YAML_FLOW_MAPPING_STYLE\n\n    :header or :!header  Output `---` header (default if more than one object output)\n\n    :footer or :!footer  Output `...` footer (default false)\n\n    :canonical or :!canonical\n\n    :indent = 2 .. 9 (default 2)\n\n    :width = width of line, default = -1, infinite\n\n    :unicode or :!unicode (default True)\n\n    :break = YAML_LN_BREAK (default)\n             YAML_CR_BREAK\n             YAML_CRLN_BREAK\n\n# Errors\n\nThrows exceptions `X::LibYAML::Parser-Error` or\n`X::LibYAML::Emitter-Error` on error.\n\n# SEE ALSO\n\n[YAMLish](https://github.com/Leont/yamlish) is a pure-perl6 module for\nYAML that doesn't rely on an external library like `LibYAML` does.\n\n[YAML.pm6](https://github.com/yaml/yaml-perl6) is a loader and dumper, which\nuses LibYAML as a backend.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-libyaml-perl6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fyaml-libyaml-perl6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-libyaml-perl6/lists"}