bring vortex
/; Server Setup
var app: vortex::Server = new vortex::Server()
var port = 3000
app.listen(port)
println("Server running at http://127.0.0.1:" + port)
/; Route: Home Page (GET)
while true {
var req: vortex::Request, res: vortex::Response = app.accept()
if req.getMethod() == "GET" && req.getPath() == "/" {
res.status(200)
.header("Content-Type", "text/html")
.send("<h1>Welcome to Flow-Wing</h1>")
}
}
Use strict type and class definitions for core architecture, or utilize supported dyn primitives for flexible variable assignments and scripting.
Compiles directly to optimized machine code using the LLVM infrastructure. The toolchain produces native binaries for macOS, Windows, and Linux without requiring a heavy runtime or interpreter.
Built-in modules cover core requirements including file I/O, JSON serialization, and system utilities. The SDK also includes integrated bindings for Raylib graphics and the Vortex HTTP framework.