{"id":14965973,"url":"https://github.com/raku/examples","last_synced_at":"2025-04-05T02:11:56.655Z","repository":{"id":556888,"uuid":"187637","full_name":"Raku/examples","owner":"Raku","description":"Many examples of Raku code","archived":false,"fork":false,"pushed_at":"2024-04-11T13:41:23.000Z","size":2273,"stargazers_count":301,"open_issues_count":25,"forks_count":82,"subscribers_count":178,"default_branch":"master","last_synced_at":"2025-04-05T02:11:51.965Z","etag":null,"topics":["example","examples","hacktoberfest","hacktoberfest2021","raku","samples"],"latest_commit_sha":null,"homepage":"https://examples.raku.org/","language":"Raku","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/Raku.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":"2009-04-28T15:41:20.000Z","updated_at":"2025-01-30T09:19:21.000Z","dependencies_parsed_at":"2024-09-14T01:21:59.650Z","dependency_job_id":"e87f0546-0654-4cba-b358-0a9bb8a33978","html_url":"https://github.com/Raku/examples","commit_stats":{"total_commits":1621,"total_committers":91,"mean_commits":"17.813186813186814","dds":"0.46267735965453427","last_synced_commit":"60c4c09a93aa168cb7014ec4ae38dfa13c7138b6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raku%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raku%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raku%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raku%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raku","download_url":"https://codeload.github.com/Raku/examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["example","examples","hacktoberfest","hacktoberfest2021","raku","samples"],"created_at":"2024-09-24T13:35:38.343Z","updated_at":"2025-04-05T02:11:56.633Z","avatar_url":"https://github.com/Raku.png","language":"Raku","readme":"# Raku Examples\n\n[![Build Status](https://travis-ci.org/raku/examples.svg?branch=master)](https://travis-ci.org/raku/examples)\n\nThis is intended to be a repository for all kinds of Raku examples.\n\nAll examples should work on a recent compiler release of Rakudo.\n\nIf you want to contribute, just ask! The quicker choice is to use IRC:\n[join `#raku` on `irc.libera.chat`](https://kiwiirc.com/nextclient/irc.libera.chat/#raku)\nand you'll be welcome.\n\n\nPlease use POD6 when adding a new example. [This\ntemplate](https://github.com/raku/examples/blob/master/doc/example-template.pl)\ncan help get you started.\n\n## Goals\n\n1. Compile a list of open source Raku examples\n2. Help different implementations of Raku test out their code in a less\n   testy and more fun manner `;)`\n\n## What you can find here\n\n| Directory          | Description                              |\n|--------------------|------------------------------------------|\n|categories          | All example categories |\n|bin                 | Utility scripts |\n|lib                 | Utility modules |\n|doc                 | Out-of-script documentation |\n\n### Categories\n\n| Directory          | Description |\n|--------------------|-------------|\n|best-of-rosettacode | The best of the rosettacode.org examples |\n|99-problems         | Based on lisp 99 problems |\n|cookbook            | Cookbook examples |\n|euler               | [Answers for Project Euler](http://projecteuler.net) |\n|games               | Games should go in here :) |\n|interpreters        | Language or DSL interpreters |\n|module-management   | Module management |\n|other               | All other examples |\n|parsers             | Example grammars |\n|perlmonks           | Answers to perlmonks.org questions |\n|rosalind            | Bioinformatics programming problems |\n|shootout            | [The Computer Language Benchmark Game](http://shootout.alioth.debian.org/) |\n|tutorial            | Tutorial examples |\n|wsg                 | Answers for Winter Scripting Games |\n\n## Dependencies\n\nTo run all examples and tests, a number of modules need to be installed.\n\nThese are listed in `META6.json`.\n\nThey can be installed via [`zef`](https://modules.raku.org/dist/zef):\n\n    $ zef --deps-only install .\n\n## Running the examples\n\nTo run most examples (all examples excluding those which take a very long\ntime or are memory hogs) one can use the `run-examples.pl` script in the\n`bin` directory:\n\n    $ raku bin/run-examples.pl\n\nor simply via the `run-all` target of the Makefle:\n\n    $ make run-all\n\nIf one wishes to run the examples for a given category, then one can simply\nuse the `--category=\u003ccategory-dir\u003e` option specifying the desired category's\ndirectory name.  For example, to run the examples for the `cookbook`\ncategory, use the following:\n\n    $ raku bin/run-examples.pl --category=cookbook\n\n## Building the examples documentation\n\nTo build the examples documentation web pages, simply run\n\n    $ make html\n\nor you can run the `htmlify.pl` script in the base directory:\n\n    $ raku htmlify.pl\n\nAfter the pages have been generated, you can view them on your local\ncomputer by starting the included `app.pl` program:\n\n    $ raku app.pl daemon\n\nYou can then view the examples documentation by pointing your web browser at\nhttp://localhost:3000.\n\n## License Information\n\n\"Raku Examples\" is free software; you can redistribute it and/or modify it\nunder the terms of the [Artistic License 2.0](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraku%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraku%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraku%2Fexamples/lists"}