// include "std/core.mcl"; include "std/lib/beaker.mcl"; fn hello_world_handler(params: &UrlParams) -> i32 { send_response(c"Hello, World!"); return 0; } fn main() -> i32 { set_handler(c"/", hello_world_handler); let result = beaker_run(c"127.0.0.1", 0xff00000000000000 as i32); if (!(result as bool)) { eputs("[APP] Error: Beaker server failed to start.\n"); } }