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;
intonamespaceWide
{
Scale(f128 x) : f128 => x * 0.1f128;
Main()
{
u256 big = 1;
big = big << 200;
i128 small = -5;
Console.WriteLine(big);
Console.WriteLine(small * 3);
Console.WriteLine(Scale(3f128));
f16 h = 1.5f16;
Console.WriteLine(h);
}
}
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.