Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Algol68
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C with Coccinelle
C++ with Coccinelle
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Mojo
Nim
Numba
Nix
Objective-C
Objective-C++
OCaml
Odin
OpenCL C
Pascal
Pony
PTX
Python
Racket
Raku
Ruby
Rust
Sail
Snowball
Scala
Slang
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
Vyper
WASM
Zig
Javascript
GIMPLE
Ygen
sway
raku source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
Rakudo 2020.11 MoarVM
Rakudo 2020.12 MoarVM
Rakudo 2021.02 MoarVM
Rakudo 2021.02.1 MoarVM
Rakudo 2021.03 MoarVM
Rakudo 2021.04 MoarVM
Rakudo 2021.05 MoarVM
Rakudo 2021.06 MoarVM
Rakudo 2021.07 MoarVM
Rakudo 2021.08 MoarVM
Rakudo 2021.09 MoarVM
Rakudo 2021.10 MoarVM
Rakudo 2021.12 MoarVM
Rakudo 2022.02 MoarVM
Rakudo 2022.03 MoarVM
Rakudo 2022.04 MoarVM
Rakudo 2022.06 MoarVM
Rakudo 2022.07 MoarVM
Rakudo 2022.12 MoarVM
Rakudo 2023.02 MoarVM
Rakudo 2023.04 MoarVM
Rakudo 2023.06 MoarVM
Rakudo 2023.08 MoarVM
Rakudo 2023.09 MoarVM
Rakudo 2023.10 MoarVM
Rakudo 2023.10-02 MoarVM
Rakudo 2023.11 MoarVM
Rakudo 2023.12 MoarVM
Rakudo 2024.01 MoarVM
Rakudo 2024.02 MoarVM
Rakudo 2024.03 MoarVM
Rakudo 2024.04 MoarVM
Rakudo 2024.05 MoarVM
Rakudo 2024.06 MoarVM
Rakudo 2024.07 MoarVM
Rakudo 2024.08 MoarVM
Rakudo 2024.09 MoarVM
Rakudo 2024.10 MoarVM
Rakudo 2024.12 MoarVM
Rakudo 2025.01 MoarVM
Rakudo 2025.02 MoarVM
Rakudo 2025.03 MoarVM
Rakudo 2025.04 MoarVM
Rakudo 2025.05 MoarVM
Options
Source code
sub square($number) { $number * $number } multi sub MAIN(Int $foo) { say "When no one was looking, Lex Luthor took $foo cakes."; say "The square of that is &square($foo) cakes."; say "It's also roughly as much as $($foo div 10) tens."; say "And that's terrible."; } multi sub MAIN() { say "You can pass a number on the commandline if you like!" }
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
About the author
Statistics
Changelog
Version tree