rakudo | nqp | |
---|---|---|
55 | 8 | |
1,697 | 333 | |
0.1% | 0.3% | |
9.9 | 9.5 | |
about 22 hours ago | 5 days ago | |
Raku | Raku | |
Artistic License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rakudo
Posts with mentions or reviews of rakudo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-07.
-
Stability
Fix IO::Path::parent #4795: merged 2022-02-19 Add more IO::Path::parent tests #801: merged 2022-02-19 Change parent to always just remove the last element #4800: merged 2022-02-26 Change .parent behavior to "stupid" resolving #802: merged 2022-02-26
-
Moving printf formats forward
This then became the Formatter class. And since this was a completely new feature, it only became available for use by opting into the 6.e.PREVIEW language version. And then it went largely unnoticed and uncared for the next 1.5 year. As clearly the time wasn't right for it yet.
-
Shaking the RakuAST Tree
The intended audience are those people willing to be early adopters of these exciting new features in the Raku Programming Language. The examples in this blog post will work in the next release of the Rakudo compiler (probably 2023.06), but are now already available in the bleeding edge version.
-
So why is there RakuAST in the first place?
If you really want to look at this, you can find the code in src/Perl6/Grammar.nqp, src/Perl6/Actions.nqp and src/Perl6/World.nqp.
-
A practical example of RakuAST
If you find this very interesting, you probably want to read the RakuAST README. And the actual source code of the RakuAST classes can be found in the same directory. And if you're really feeling adventurous and you have the Rakudo repository checked out, you can have a look at the generated NQP code in gen/moar/ast.nqp.
-
RakuAST for Early Adopters
Yes, it would. But until there was RakuAST, that was virtually impossible to do because there was no proper API for building ASTs. Nor was there an interface to execute those ASTs. And now that there is RakuAST, it is actually possible to do this. And there is actually already an implementation of that idea in the new Formatter class. Although this is definitely not intended as an entry point into grokking RakuAST.
-
What explains this difference in behavior?
I have opened one. https://github.com/rakudo/rakudo/issues/5205.
-
Why isn't sign() defined for Complex numbers?
Will Coleda has made a Pull Request
-
Building Rakudo on JVM backend fails: guarantee(requested_word_size <= chunklevel::MAX_CHUNK_WORD_SIZE) failed: Requested size too large (561049) - max allowed size per allocation is 524288
There's an issue pertaining to this. This is something I'd like to resolve, but I'm unsure on how to better debug this to see if it really is the deserialization of a setting file triggering it. JDK 11 should at least be capable of building Rakudo, but being an experimental backend people don't always align with MoarVM immediately, I can't make any guarantees about tests. You may be disappointed in its performance at the moment.
-
Resources and advice
(NB. While the PL is just a toy (and just a tiny bit of the toy too), the tech is actually industrial strength, used to power the production Raku compiler, which is written in Raku using its grammar construct. Starting easy doesn't mean you can't go far. Quite the opposite in fact -- you can go as far as you want.)
nqp
Posts with mentions or reviews of nqp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-01.
-
how to make a context aware code evaluater like REPL
hi! I was looking at REPL-like evaluation of code from here and here, and tried to make a very small version for it, yet it fails:
-
DI as a first class citizen?
Second, any "inheritance" is optional. Quoting nqp's 6model overview with my added emphasis:
-
What's the position/name of Raku(formerly Perl6)'s `grammar` in parsing technology?
Considering it has a compiler (which generates an NFA), I do not think it is fair to call it an interpreter.
-
What would Raku look like without any syntactic sugar?
When I mention the Actor model, I specifically mean the Actor model, not "an actor model". That is to say, a mathematical theory, not an implementation. In contrast, ponder what you mean by "an object model". When I mention the "metamodel", I specifically mean "a framework [that] does not contain an implementation of classes, interfaces, roles, prototype objects and so forth".
-
Raku: features, community and main interpreter/VM
NQP is a compiler like MiniPerl for Perl 5. It is a bootstrapping tool which helps to compile the Raku parts of Rakudo and compile the libraries before running have compiled the libraries. Unlike MiniPerl for Perl 5 (which is an interpreter that can interpret all Perl syntax but miss some batteries: means without modules mixing Perl code and native code), NQP can only compile a "simplified Raku". NQP refers to both the compiler and the source code contained in files with the ".nqp" extension.
-
When implementing a language, what's your favourite backend?
I focus on the Raku stack: the compiler Rakudo which targets the compiler compiler NQP which targets multiple backends including MoarVM. (Which
-
Common standard library for language interop
NQP is a compiler compiler toolkit that targets multiple backends: JVM, JS, and MoarVM.
- Perl leader quits citing internal harassment
What are some alternatives?
When comparing rakudo and nqp you can also consider the following projects:
instaparse
MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo
coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.
qutebrowser-userscripts - userscripts for qutebrowser (written in Raku)
enso - Hybrid visual and textual functional programming.
graalpython - A Python 3 implementation built on GraalVM
perl5 - 🐪 The Perl programming language
Inline-Perl5 - Use Perl 5 code in a Raku program
roast - 🦋 Raku test suite
Sparrow6 - Raku Automation Framework
langs
json - A tiny JSON parser and emitter for Perl 6 on Rakudo