Write Antril, run it in your browser and share it with a link. Programs are compiled to WebAssembly and run on your machine, not on the server.
Running programs is unavailable right now: the WebAssembly linker (wasm-ld, part of LLVM) is not installed on this server. You can still write, share and download code.
importSystem;
Main()
{
i32 count = 42;
i64 big = 9_000_000_000;
u8 small = 255u8;
f32 ratio = 0.5f32;
f64 pi = 3.14159;
i32 mask = 0xFF;
i32 bits = 0b1010;
u128 huge = 340282366920938463463374607431768211455u128;
u16 letter = 'A';
bool ready = true;
str name = "Antril\n";
Console.WriteLine(count + mask + bits);
Console.WriteLine(big);
Console.WriteLine(huge);
Console.WriteLine(letter);
Console.Write(name);
}
Output
Press Run (or Ctrl+Enter) to compile and run the program.
Input
What Console.ReadLine() reads, one line at a time.
Ctrl+Enter runs. Tab indents (Shift+Tab outdents); press Esc, then Tab, to leave the editor. A program may run for 10 seconds.