nqp-m(1)
π nqp-m β Not Quite Perl Compiler π
okay bestie, pull up a chair, because we're talking about nqp-m(1), a User Contributed Perl Documentation page, and it's literally the Not Quite Perl Compiler and I'm kind of obsessed. π¦
πΈ SYNOPSIS πΈ
nqp-m [switches] [--] [programfile] [arguments]
that's the whole vibe check right there. switches, maybe a --, maybe a program file, maybe some arguments. we love options. π
β¨ DESCRIPTION β¨
So here's the tea: if you run it with no arguments at all, nqp-m drops you straight into a REPL. main character energy fr fr. π
But if you hand it a [programfile] or hit it with the -e option, it compiles that program, and by default it also executes the compiled code. not just compiling and ghosting you β it actually runs the thing. π
-e programβ one line of program, that's it, one line, and you're cooking π-h,--helpβ display this help text, your little map πΊοΈ--target=[stage]β specify compilation stage to emit, pick your stage bestie β-t,--trace=[flags]β enable trace flags, so you can see π--encoding=[mode]β specify string encoding mode, encoding but make it specified π-o,--output=[name]β specify name of output file, name the baby π-v,--versionβ display version information, always good to know who you're dealing with π--stagestatsβ display time spent in the compilation stages, a little time audit, slay β±οΈ--ll-exceptionβ display a low level backtrace on errors, for when things go π and you need the low level receipts
Note that only boolean single-letter options may be bundled β so like, don't go feral bundling everything you see. only the boolean single-letter ones. periodt. π
π§ MOARVM OPTIONS π§
Here's the part where you gotta be careful, bestie. If you want to pass options down to the underlying MoarVM virtual machine, you have to explicitly run moar. You cannot specify these options by using the perl6 executable. like, not a vibe, it just doesn't work that way. π
moar [--crash] [--libpath=...] input.moarvm [program args]
And for the full menu of what moar will accept, go hit up moar --help β it's got a list of valid MoarVM options waiting for you. π«Ά
π AUTHORS π
- Written by the NQP contributors, see the
CREDITSfile. π - This manual page was written by Alessandro Ghedini for the Debian project, and may be used by others. iconic behavior honestly π
and that's the whole page, bestie!! this was nqp-m(1), from perl v5.40.1, dated 2026-02-11 β go compile something gorgeous πβ¨π
π¦ where this page comes from
- ubuntu resolute: nqp 2024.09+dfsg-5build1 Β· Artistic-2.0
- ubuntu stonking: nqp 2024.09+dfsg-5build1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms