Xag
Font
Theme

Playground

This is the compiler's own front end, built for the browser. Your program is read, checked and run on this machine and is not sent anywhere. Under development, don't treat this website's info as truth.

play.xag
Output

        
        
        
      

Three things xagc run does that this does not. It runs the program at build time as well, two ways, and makes them disagree with each other — that needs the backend, so it needs LLVM, so it is not here. The same pass is what runs an ITMT block: one is read and checked on this page, but never run. And it reads Xag-Config.toml and a manifest; there is no project here, so the defaults stand and import reaches nothing. What a program answers is the same either way — a mistake xagc catches before running, such as a sum that cannot fit, this catches when it is reached.