Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Welcome to HCODX Online Compiler
Quick Start:
Ctrl+Enter Run code
Ctrl+S Save / Download
Ctrl+L Clear output
Select a language and start coding.
Compile and run Raku code online instantly with HCODX. Our free cloud-based Raku compiler supports real-time execution, standard input, syntax highlighting, and code download. No installation or configuration required. Start coding in Raku now.
Run Raku instantly without installing any IDEs or configuring environments. Our cloud-based Raku handles libraries, runtimes, and dependencies automatically so you can focus on writing code.
Whether you are studying algorithms in Raku, practicing data structures in Raku, or exploring functional programming, our tool provides real-time stdout/stderr feedback with interactive standard input support.
HCODX is a free online compiler and code runner: write code in your browser, execute it on a cloud sandbox, and interact with your program through a live terminal. Students use it for coursework and interview practice; developers use it to test snippets in 85+ languages without setting up a local environment.
Raku is the language formerly known as Perl 6 — redesigned from scratch over fifteen years and renamed in 2019 to stand on its own. It runs on the Rakudo compiler atop MoarVM, with new Rakudo releases shipping roughly monthly. Raku packs an unusual amount of language design into one place: gradual typing, built-in grammars that make parsers first-class citizens, lazy lists, hyper operators for data parallelism, and Unicode handling that is arguably the best in any mainstream language. It is a favorite among language enthusiasts and Perl veterans exploring modern design. This page gives you a live Raku terminal in the browser — code runs immediately and prompt() reads your typed input mid-execution, with nothing to install.
my $name = prompt "Your name: ";
say "Nice to meet you, $name!";
my $line = prompt "Enter integers separated by spaces: ";
my @nums = $line.words>>.Int;
say "Sum: ", [+] @nums;
say "Sorted: ", @nums.sort.join(", ");
say "Evens: ", @nums.grep(* %% 2).join(", ");
say "Each doubled: ", (@nums >>*>> 2).join(", ");
Raku attracts two crowds: Perl developers evaluating the successor language, and programming-language students studying advanced design — its grammars, junctions, and metaobject protocol are frequently cited in PL discussions and coursework. It is also genuinely practical for text-heavy scripting, since regexes and parsers are core syntax rather than a library. Because a full Rakudo install is nontrivial on some systems, a browser-based runner is the fastest way to try Raku Challenge solutions, experiment with reduction operators like [+], or prototype a grammar before committing to a local toolchain. HCODX is a free online Raku editor, runner and interpreter — an IDE-grade compiler and playground to write and run code online, execute code with live output and live preview, no downloads or web server required.
Yes. prompt prints its message and blocks until you press Enter, and this page's terminal is a real interactive session — you type the response while the program is running. get and lines from $*IN work the same way, so you can build multi-question scripts and see each answer processed live.
Raku is the official name Perl 6 adopted in October 2019; the language itself is unchanged by the rename. Code here runs on Rakudo, the reference implementation, executing on MoarVM. Rakudo is the only production-grade Raku compiler, so what you test on this page matches what you would run locally.
No — zef installs are not available in the sandbox, and execution is limited to a single file. Everything built into Rakudo works, though, which in Raku's case is a lot: grammars, sets and bags, native-typed arrays, concurrency primitives like start and Promise, and the whole standard type system.
Your current code will be replaced with the default sample. This cannot be undone — download your code first if you want to keep it.
You have unsaved changes. Do you want to save your code before continuing?