From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

NQP is also known as "Not Quite Perl" is a lightweight Raku-like environment for MoarVM, JVM, and other virtual machines.


USE flags

USE flags for dev-lang/nqp Not Quite Perl, a Raku bootstrapping compiler

clang Toggle usage of the clang compiler in conjunction with MoarVM
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
java Add support for Java
moar Build the MoarVM backend (experimental/broken)
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)


Emerge the package base

root #emerge --ask dev-lang/nqp


While NQP can be installed or removed on its own it's more typically handled as a dependency of Rakudo.


root #emerge --ask --depclean --verbose dev-lang/nqp

See Also

  • Rakudo — a compiler that implements the Raku programming language.
  • MoarVMRakudo compiler's virtual machine for the Raku Programming Language.
  • Zef
  • Perl — a general purpose interpreted programming language with a powerful regular expression engine.

External Resources