Bau Playground
Run and transpile your
Bau program
in the browser.
Example:
Factorial
Conditions and Loops
Switch
Types and Constants
Functions on Types
Types
Arrays
List
Enums
Exceptions
Macros
Sort with Templates
fun factorial(x int) int if x <= 1 return 1 return x * factorial(x - 1) for i:= range(0 20) println(factorial(i))
Run ⇧ ⏎
Output:
Generated C Source Code: