Hello World
Create hello.wyn:
wyn
fn main() -> int {
println("Hello from Wyn! 🐉")
return 0
}Run it:
sh
wyn run hello.wynOutput:
Hello from Wyn! 🐉What's Happening
wyn runtranspiles your.wynfile to C- Compiles the C with your system compiler
- Runs the resulting binary
For a compiled binary:
sh
wyn build hello.wyn -o hello
./helloTry It
Press Run or Ctrl+Enter