Dataset Viewer
Auto-converted to Parquet Duplicate
txt
stringlengths
202
72.4k
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: dg-check.raku ### ---------------------------------------------------- use v6; use lib 'lib'; use ABC; my @matches = $*IN.slurp.comb(m/ <ABC::tune> /, :match); my %dg_notes = { 'g' => 1...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: META6.json ### ---------------------------------------------------- { "perl" : "6.*", "name" : "ABC", "version" : "0.7.2", "auth" : "zef:colomon", ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: LICENSE ### ---------------------------------------------------- The Artistic License 2.0 Copyright (c) 2000-2006, The Perl Foundation. Everyone is permitted to copy and d...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: README.md ### ---------------------------------------------------- # ABC This module is a set of tools for dealing with [ABC music notation](https://abcnotation.com/wiki/abc:standard:v2.1) fi...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: playing.raku ### ---------------------------------------------------- use v6; use lib 'lib'; use ABC; my $abc = q«X:64 T:Cuckold Come Out o' the Amrey S:Northumbrian Minstrelsy M:4/4 L:1/8 K...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: .travis.yml ### ---------------------------------------------------- --- sudo: false language: perl6 perl6: - latest
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/05-actions.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Header; use ABC::Tune; use ABC::Grammar; use ABC::Actions; use ABC::Note; use ABC::Ste...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/10-utils.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Utils; is default-length-from-meter("4/4"), "1/8", "4/4 defaults to eighth note"; is ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/08-transpose.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Grammar; use ABC::Header; use ABC::Tune; use ABC::Duration; use ABC::Note; use ABC:...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/02-key.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Grammar; use ABC::Utils; use ABC::KeyInfo; { my $key = ABC::KeyInfo.new("D"); is ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/06-duration.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Duration; is duration-from-parse("2", "3").ticks.perl, (2/3).perl, "2/3 works proper...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/04-header.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Header; isa-ok ABC::Header.new, ABC::Header, "Can create ABC::Header object"; { m...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/07-stringify.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Grammar; use ABC::Header; use ABC::Tune; use ABC::Duration; use ABC::Note; use ABC:...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/09-context.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Context; use ABC::Grammar; use ABC::Actions; { my $context = ABC::Context.new("C"...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/03-file.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Grammar; { my $match = ABC::Grammar.parse(slurp("samples.abc"), :rule<tune_file>); ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: t/01-regexes.rakutest ### ---------------------------------------------------- use v6; use Test; use ABC::Grammar; { my $match = ABC::Grammar.parse('"Cmin"', :rule<chord_or_text>); is...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Utils.rakumod ### ---------------------------------------------------- use v6; use ABC::Grammar; use ABC::Context; use ABC::Note; package ABC::Utils { sub str-to-stem($note) is ex...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Note.rakumod ### ---------------------------------------------------- use v6; use ABC::Duration; use ABC::Pitched; class ABC::Note does ABC::Duration does ABC::Pitched { has $.ac...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Chord.rakumod ### ---------------------------------------------------- use v6; use ABC::Pitched; class ABC::Chord does ABC::Pitched { has $.main-note; has $.main-accidental; ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Header.rakumod ### ---------------------------------------------------- use v6; class ABC::Header { has @.lines; # array of Pairs representing each line of the ABC header ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/GraceNotes.rakumod ### ---------------------------------------------------- use v6; use ABC::Pitched; class ABC::GraceNotes does ABC::Pitched { has $.acciaccatura; has @.note...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Grammar.rakumod ### ---------------------------------------------------- use v6; # use Grammar::Tracer; # Originally based on https://web.archive.org/web/20120201072612/http://www.nor...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Duration.rakumod ### ---------------------------------------------------- use v6; role ABC::Duration { has $.ticks; multi sub duration-from-parse($top) is export { #OK ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Context.rakumod ### ---------------------------------------------------- use ABC::KeyInfo; class ABC::Context { has $.key-name; has $.key-info; has $.meter; has $.leng...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/ToLilypond.rakumod ### ---------------------------------------------------- use v6; use ABC::Header; use ABC::Tune; use ABC::Grammar; use ABC::Actions; use ABC::Duration; #OK use ABC::...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/KeyInfo.rakumod ### ---------------------------------------------------- use v6; use ABC::Grammar; #SHOULD: rename parcel to list? sub parcel-first-if-needed($a) { $a ~~ List ?? $...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Rest.rakumod ### ---------------------------------------------------- use v6; use ABC::Duration; class ABC::Rest does ABC::Duration { has $.type; method new($type, ABC::Dura...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Actions.rakumod ### ---------------------------------------------------- use v6; use ABC::Header; use ABC::Tune; use ABC::Duration; use ABC::Note; use ABC::Rest; use ABC::Tuplet; use ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Pitched.rakumod ### ---------------------------------------------------- use v6; role ABC::Pitched { method transpose($pitch-changer) { ... } }
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/BrokenRhythm.rakumod ### ---------------------------------------------------- use v6; use ABC::Duration; use ABC::Pitched; use ABC::Note; use ABC::Stem; class ABC::BrokenRhythm does ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Tuplet.rakumod ### ---------------------------------------------------- use v6; use ABC::Duration; use ABC::Pitched; class ABC::Tuplet does ABC::Duration does ABC::Pitched { has ...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Tune.rakumod ### ---------------------------------------------------- use v6; use ABC::Header; use ABC::Pitched; class ABC::Tune { has $.header; has @.music; multi me...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/LongRest.rakumod ### ---------------------------------------------------- use v6; class ABC::LongRest { has $.measures_rest; method new($measures_rest) { self.bless(:...
### ---------------------------------------------------- ### -- ABC ### -- Licenses: Artistic-2.0 ### -- Authors: ### -- File: lib/ABC/Stem.rakumod ### ---------------------------------------------------- use v6; use ABC::Duration; use ABC::Pitched; class ABC::Stem does ABC::Duration does ABC::Pitched { has @.no...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: META6.json ### ---------------------------------------------------- { "perl" : "6.*", "name" : "ADT", "version" : "0.5", "description" : "Algebraic Data Types inspired by Haskell.", "d...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: README.md ### ---------------------------------------------------- Algebraic Data Types ==================== This module implements algebraic data types inspired by the Haskell syntax. See below for limi...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: .travis.yml ### ---------------------------------------------------- language: perl6 perl6: - latest install: - rakudobrew build zef - zef install .
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: t/01-tree.t ### ---------------------------------------------------- use Test; use ADT; plan 7; { my %res = create_adt("Tree = Branch Tree left, Tree right | Leaf Str storage"); my \Tree = %res<T...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: t/04-whitespace.t ### ---------------------------------------------------- use Test; use ADT; plan 5; { dies-ok { create_adt("arghlebarghle") }, "sanity"; ok create_adt(q:to/TREE/), "simple mult...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: t/03-positional.t ### ---------------------------------------------------- use Test; use ADT; plan 8; { my %res = create_adt("Positionals = One Str one1 | Two Str a, Str b | Three Str x, Str y, Str ...
### ---------------------------------------------------- ### -- ADT ### -- Licenses: ### -- Authors: ### -- File: t/02-EXPORT.t ### ---------------------------------------------------- use Test; eval-lives-ok q{ use ADT "Tree = Branch Tree left, Tree right | Leaf Str storage"; my $a = Tree.new-leaf("Hello");...
### ---------------------------------------------------- ### -- AI::FANN ### -- Licenses: Artistic-2.0 ### -- Authors: Jonathan Scott Duff <duff@pobox.com>, José Joaquín Atria <jjatria@cpan.org> ### -- File: META6.json ### ---------------------------------------------------- { "auth": "zef:jjatria", "authors": [ ...
### ---------------------------------------------------- ### -- AI::FANN ### -- Licenses: Artistic-2.0 ### -- Authors: Jonathan Scott Duff <duff@pobox.com>, José Joaquín Atria <jjatria@cpan.org> ### -- File: README.md ### ---------------------------------------------------- ### -- Chunk 1 of 2 # NAME AI::FANN # SYNOP...
End of preview. Expand in Data Studio

Raku Projects from GitHub

About the Dataset

This dataset is a large proportion of the Raku projects currently available on GitHub.

License

Where possible, the licenses have been extracted from the META6.json files in the repository and appended to the header of each section.

Unfortunately, some projects included in this dataset do not clearly specify a license.

Format

The dataset is formatted for continued pre-training.

Chunks are split at a seq_len of 8192 based on the Qwen 3 tokenizer.

Goals

This dataset is part of a larger collection designed to teach LLMs to write a niche programming language. In this case, Raku (perl 6).

Downloads last month
5