3b03d43dd1
- hello.bux: Hello World with PrintLine - fibonacci.bux: Recursive Fibonacci with while loop - factorial.bux: Recursive Factorial computation - structs.bux: Struct creation and field access All examples compile and run successfully via 'bux run'
8 lines
151 B
Plaintext
8 lines
151 B
Plaintext
// Hello World - Basic Bux program
|
|
extern func Std_Io_PrintLine(s: String);
|
|
|
|
func Main() -> int {
|
|
Std_Io_PrintLine("Hello, Bux!");
|
|
return 0;
|
|
}
|