Category:Raku: Difference between revisions
SqrtNegInf (talk | contribs) m →Useful links: raku.org is live |
additional online evaluator |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 16:
{{language programming paradigm|generic}}
{{infobox_begin}}Can't install Raku locally?<br>Try Raku on-line!<br>
[https://perl6.github.io/6pad/ Try Raku on 6pad].<br>▼
[https://tio.run/#perl6 Try Raku on tio.run].<br>
[https://glot.io/new/
[https://repl.it/languages/raku Try Raku on repl.it].<br>
▲[https://perl6.github.io/6pad/ Try Raku on 6pad].<br>
[https://ideone.com/fork/685KSI Try Raku on ideone].<br>
[https://fglock.github.io/Perlito/perlito/perlito6.html Try Raku with Perlito].<br>
[http://rakudist.raku.org/play/ (RakuPlay is currently down)].<br>
[https://ato.pxeger.com/run?1=m72kKDG7dMGCpaUlaboWaBSUBgA Try Raku on Attempt This Online].<br>
{{infobox_end}}
Raku is a member of the Perl family of programming languages.
Line 42 ⟶ 47:
==A Note on the Renaming==
The renaming of "Perl 6" as "Raku" occurred in October 2019. Since the old name has been in use for many years, it will take some time for the new designation to propagate widely. Expect to see both names in use for some time, but understand that they refer to exactly the same underlying idea.
<br clear=right><!-- Stop the category list and infobox from overlapping -->
|
Latest revision as of 16:25, 5 July 2023
![Language](http://static.miraheze.org/rosettacodewiki/thumb/2/27/Rcode-button-language-crushed.png/64px-Rcode-button-language-crushed.png)
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Garbage collected: | Yes |
---|---|
Parameter passing methods: | By reference, By value |
Type safety: | Safe, Unsafe |
Type strength: | Gradual |
Type compatibility: | Nominative, Duck |
Type checking: | Dynamic, Static |
Lang tag(s): | raku,perl6 |
See Also: |
|
Try Raku on-line!
Try Raku on tio.run.
Try Raku on glot.io.
Try Raku on repl.it.
Try Raku on 6pad.
Try Raku on ideone.
Try Raku with Perlito.
(RakuPlay is currently down).
Try Raku on Attempt This Online.
Raku is a member of the Perl family of programming languages. Though it resembles previous versions of Perl to no small degree, Raku is substantially a new language. By design, it isn't backwards-compatible with Perl 5. The first official release was at Christmas of 2015.
Damian Conway described the basic philosophy of Raku as follows:
The Perl 6 (now Raku) design process is about keeping what works in Perl 5, fixing what doesn't, and adding what's missing. That means there will be a few fundamental changes to the language, a large number of extensions to existing features, and a handful of completely new ideas. These modifications, enhancements, and innovations will work together to make the future Perl even more insanely great -- without, we hope, making it even more greatly insane.
Major new features include multiple dispatch, declarative classes, grammars, formal parameters to subroutines, type constraints on variables, lazy evaluation, junctions, meta-operators, and the ability to change Perl's syntax at will.
The definition of Raku is specified entirely by a test suite, so we could in theory have multiple implementations. The current version of the language is 6.d, as defined by the test suite known as "roast" (Repository Of All Spec Tests). Compiler releases have date-based versions, and these are typically used in Rosetta Code entries for the "works with" fields. The only compiler implementing the full test suite, Rakudo, currently runs on either of two backends, MoarVM or JVM. Subsequent language revisions are planned for release on a roughly yearly cycle.
Useful links
A Note on the Renaming
The renaming of "Perl 6" as "Raku" occurred in October 2019. Since the old name has been in use for many years, it will take some time for the new designation to propagate widely. Expect to see both names in use for some time, but understand that they refer to exactly the same underlying idea. As of March 14, 2020, all of the existing "Perl 6" tasks have been renamed to "Raku". There are still many mentions of Perl 6 throughout the site, and likely will be for the foreseeable future.
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "Raku"
The following 200 pages are in this category, out of 1,627 total.
(previous page) (next page)P
- Pell's equation
- Penholodigital squares
- Penney's game
- Penrose tiling
- Penta-power prime seeds
- Pentagram
- Pentomino tiling
- Percentage difference between images
- Perceptron
- Percolation/Bond percolation
- Percolation/Mean cluster density
- Percolation/Mean run density
- Percolation/Site percolation
- Perfect numbers
- Perfect shuffle
- Perfect totient numbers
- Periodic table
- Peripheral drift illusion
- Perlin noise
- Permutation test
- Permutations
- Permutations by swapping
- Permutations with repetitions
- Permutations with some identical elements
- Permutations/Derangements
- Permutations/Rank of a permutation
- Permuted multiples
- Pernicious numbers
- Phrase reversals
- Pi
- Pick random element
- Pierpont primes
- Pig the dice game
- Pig the dice game/Player
- Pinstripe/Display
- Pinstripe/Printer
- Piprimes
- Pisano period
- Plasma effect
- Playfair cipher
- Playing cards
- Plot coordinate pairs
- Pointers and references
- Poker hand analyser
- Polymorphic copy
- Polymorphism
- Polynomial derivative
- Polynomial long division
- Polynomial regression
- Polynomial synthetic division
- Polyspiral
- Population count
- Posit numbers/decoding
- Posit numbers/encoding
- Positive decimal integers with the digit 1 occurring exactly twice
- Power set
- Powerful numbers
- Practical numbers
- Pragmatic directives
- Price fraction
- Price list behind API
- Primality by trial division
- Primality by Wilson's theorem
- Prime conspiracy
- Prime decomposition
- Prime numbers p for which the sum of primes less than or equal to p is prime
- Prime numbers which contain 123
- Prime numbers whose neighboring pairs are tetraprimes
- Prime reciprocal sum
- Prime triangle
- Prime triplets
- Prime words
- Primes - allocate descendants to their ancestors
- Primes which contain only one odd digit
- Primes whose first and last number is 3
- Primes whose sum of digits is 25
- Primes with digits in nondecreasing order
- Primes: n*2^m+1
- Primorial numbers
- Print debugging statement
- Print itself
- Priority queue
- Probabilistic choice
- Problem of Apollonius
- Process SMIL directives in XML data
- Product of divisors
- Product of min and max prime factors
- Program name
- Program termination
- Proof
- Proper divisors
- Pseudo-random numbers/Combined recursive generator MRG32k3a
- Pseudo-random numbers/Middle-square method
- Pseudo-random numbers/PCG32
- Pseudo-random numbers/Splitmix64
- Pseudo-random numbers/Xorshift star
- Pseudorandom number generator image
- Pythagoras tree
- Pythagorean quadruples
- Pythagorean triples
Q
R
- Radical of an integer
- Railway circuit
- Rainbow
- Ramanujan primes
- Ramanujan primes/twins
- Ramanujan's constant
- Ramer-Douglas-Peucker line simplification
- Ramsey's theorem
- Random Latin squares
- Random number generator (device)
- Random number generator (included)
- Random numbers
- Random sentence from book
- Range consolidation
- Range expansion
- Range extraction
- Range modifications
- Ranking methods
- Rare numbers
- Raster bars
- Rate counter
- Ray-casting algorithm
- RCRPG
- Read a configuration file
- Read a file character by character/UTF8
- Read a file line by line
- Read a specific line from a file
- Read entire file
- Readline interface
- Real constants and functions
- Recaman's sequence
- Record sound
- Recursive descent parser generator
- Reduced row echelon form
- Reflection/Get source
- Reflection/List methods
- Reflection/List properties
- Regular expressions
- Remove duplicate elements
- Remove lines from a file
- Remove vowels from a string
- Rename a file
- Rendezvous
- Rep-string
- Repeat
- Repeat a string
- Repunit primes
- Resistance calculator
- Resistance network calculator
- Resistor mesh
- Respond to an unknown method call
- Retrieve and search chat history
- Return multiple values
- Reverse a string
- Reverse the gender of a string
- Reverse the order of lines in a text file while preserving the contents of each line
- Reverse words in a string
- Rhonda numbers
- Rice coding
- Riordan numbers
- RIPEMD-160
- Robots
- Rock-paper-scissors
- Rodrigues’ rotation formula
- Roman numerals/Decode
- Roman numerals/Encode
- Roots of a cubic polynomial
- Roots of a function
- Roots of a quadratic function
- Roots of unity
- Rosetta Code/Count examples
- Rosetta Code/Find bare lang tags
- Rosetta Code/Find unimplemented tasks
- Rosetta Code/Fix code tags
- Rosetta Code/List authors of task descriptions
- Rosetta Code/Rank languages by number of users
- Rosetta Code/Rank languages by popularity
- Rosetta Code/Run examples
- Rosetta Code/Tasks without examples
- Rot-13
- Round-robin tournament schedule
- RPG attributes generator
- RSA code
- Run as a daemon or service
- Run-length encoding
- Runge-Kutta method
- Runtime evaluation
- Runtime evaluation/In an environment
- Ruth-Aaron numbers
- Garbage collection/Yes
- Parameter passing/By reference
- Parameter passing/By value
- Typing/Safe
- Typing/Unsafe
- Typing/Gradual
- Typing/Compatibility/Nominative, Duck
- Typing/Checking/Dynamic
- Typing/Checking/Static
- Programming Languages
- Programming paradigm/Dynamic
- Programming paradigm/Imperative
- Programming paradigm/Procedural
- Programming paradigm/Reflective
- Programming paradigm/Functional
- Programming paradigm/Object-oriented
- Programming paradigm/Generic