Escribe Antril, ejecútalo en tu navegador y compártelo con un enlace. Los programas se compilan a WebAssembly y se ejecutan en tu equipo, no en el servidor.
Ejecutar programas no está disponible en este momento: the WebAssembly linker (wasm-ld, part of LLVM) is not installed on this server. Aún puedes escribir, compartir y descargar código.
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);
}
}
Salida
Pulsa Ejecutar (o Ctrl+Enter) para compilar y ejecutar el programa.
Entrada
Lo que lee Console.ReadLine(), una línea a la vez.
Ctrl+Enter ejecuta. Tab agrega sangría (Shift+Tab la quita); pulsa Esc y luego Tab para salir del editor. Un programa puede ejecutarse durante 10 segundos.