All Projects → Raku → Examples

Raku / Examples

Licence: artistic-2.0
Many examples of Raku code

Projects that are alternatives of or similar to Examples

Rxjava2 Android Samples
RxJava 2 Android Examples - Migration From RxJava 1 to RxJava 2 - How to use RxJava 2 in Android
Stars: ✭ 4,950 (+1693.48%)
Mutual labels:  samples, example, examples
db2-samples
Db2 application code, configuration samples, and other examples
Stars: ✭ 56 (-79.71%)
Mutual labels:  examples, example, samples
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (-57.97%)
Mutual labels:  examples, samples
examples
Example actors, capability providers, and other demonstrations
Stars: ✭ 93 (-66.3%)
Mutual labels:  examples, samples
go-learning
My Golang training material for testing smaller Go concepts and ideas.
Stars: ✭ 27 (-90.22%)
Mutual labels:  examples, example
Examples Win32
Shows how to use Win32 controls by programming code (c++17).
Stars: ✭ 22 (-92.03%)
Mutual labels:  examples, example
Ngxs Examples
NGXS Example Apps
Stars: ✭ 80 (-71.01%)
Mutual labels:  samples, examples
Examples
An complete examples and related support for various popular projects, and more.
Stars: ✭ 22 (-92.03%)
Mutual labels:  examples, samples
Vaporschool
Learn how to build vapor applications from rookie to champion in a constructive way!
Stars: ✭ 259 (-6.16%)
Mutual labels:  example, examples
Unity3D-JobsSystemAndBurstSamples
Examples of using the Job System in Unity 2018
Stars: ✭ 46 (-83.33%)
Mutual labels:  examples, samples
Rpcx Examples
examples for the latest rpcx
Stars: ✭ 256 (-7.25%)
Mutual labels:  example, examples
Examples Gtkmm
Shows how to use Gtkmm controls by programming code (c++17).
Stars: ✭ 23 (-91.67%)
Mutual labels:  examples, example
Haxe Basics
The collection of easy samples and hello-worlds for Haxe.
Stars: ✭ 78 (-71.74%)
Mutual labels:  samples, examples
Thinking In Spring Boot Samples
小马哥书籍《Spring Boot 编程思想》示例工程
Stars: ✭ 1,725 (+525%)
Mutual labels:  samples, examples
Magestudy
Magento 2 extension samples
Stars: ✭ 55 (-80.07%)
Mutual labels:  samples, example
react-samples
Multi-project repository containing examples to explain react concepts.
Stars: ✭ 25 (-90.94%)
Mutual labels:  examples, samples
Wasm By Example
Wasm By Example is a website with a set of hands-on introduction examples and tutorials for WebAssembly (Wasm)
Stars: ✭ 226 (-18.12%)
Mutual labels:  example, examples
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (-15.94%)
Mutual labels:  example, examples
Examples Qt
Shows how to use Qt widgets only by programming code (c++17).
Stars: ✭ 38 (-86.23%)
Mutual labels:  examples, example
playground
📚 Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
Stars: ✭ 23 (-91.67%)
Mutual labels:  examples, samples

Raku Examples

Build Status

This is intended to be a repository for all kinds of Raku examples.

All examples should work for any full implementation of Raku.

If an example needs an implementation specific version then it should end in .implementation. For example, if you are making an example that only works on Rakudo, it should end in .rakudo.

If you want to contribute, just ask! The quicker choice is to use IRC: join #raku on irc.freenode.net and you'll be welcome.

Please use POD6 (mostly this template https://github.com/perl6/perl6-examples/blob/master/doc/example-template.pl) when adding a new example.

Goals

  1. Compile a list of open source Raku examples
  2. Help different implementations of Raku test out their code in a less testy and more fun manner ;)

What you can find here

Directory Description
categories All example categories
bin Utility scripts
lib Utility modules
doc Out-of-script documentation

Categories

Directory Description
best-of-rosettacode The best of the rosettacode.org examples
99-problems Based on lisp 99 problems
cookbook Cookbook examples
euler Answers for Project Euler
games Games should go in here :)
interpreters Language or DSL interpreters
module-management Module management
other All other examples
parsers Example grammars
perlmonks Answers to perlmonks.org questions
rosalind Bioinformatics programming problems
shootout The Computer Language Benchmark Game
tutorial Tutorial examples
wsg Answers for Winter Scripting Games

Since you have a commit-bit (if not then talk to the folks at #perl6 on irc.freenode.net) feel free to commit your changes to the main repository. No need to submit a pull request!

Dependencies

To run all examples and tests, a number of modules need to be installed.

These are listed in META6.json.

They can be installed via zef:

$ zef --depsonly install .

Running the examples

To run most examples (all examples excluding those which take a very long time or are memory hogs) one can use the run-examples.pl script in the bin directory:

$ perl6 bin/run-examples.pl

or simply via the run-all target of the Makefle:

$ make run-all

If one wishes to run the examples for a given category, then one can simply use the --category=<category-dir> option specifying the desired category's directory name. For example, to run the examples for the cookbook category, use the following:

$ perl6 bin/run-examples.pl --category=cookbook

Building the examples documentation

To build the examples documentation web pages, simply run

$ make html

or you can run the htmlify.p6 script in the base directory:

$ perl6 htmlify.p6

After the pages have been generated, you can view them on your local computer by starting the included app.pl program:

$ perl app.pl daemon

You can then view the examples documentation by pointing your web browser at http://localhost:3000.

License Information

"Raku Examples" is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. (Note that, unlike the Artistic License 1.0, version 2.0 is GPL compatible by itself, hence there is no benefit to having an Artistic 2.0 / GPL disjunction.) See the file LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].