Syntax
Each line in Budgie starts with a function name. If there are arguments, they are preceded by a space-padded colon following the function name, all separated by spaces.
1
print : "Budgie!"
Copied!
  • Function: print
  • Argument: "Budgie!"
This will compile to:
  • In C#: System.Console.WriteLine("Budgie!");
  • In Python: print("Budgie!")
Many commands, including print, may take in multiple arguments:
1
print : "Chirp" "chirp!"
Copied!
  • Function: print
  • Arguments: "Chirp", "chirp!"

Parenthesis

You can keep spaces inside your arguments by wrapping characters in parenthesis. This tells the compiler to treat the space as part of the argument instead of a separator.
1
print : ("Hello world!")
Copied!
  • Function: print
  • Argument: "Hello world!"

Recursion

To pipe the output of one command into another, wrap the inner command with{}brackets.
1
print : { operation : 1 plus 2 }
Copied!
  • Function: print
  • Argument:
    • Function: operation
    • Arguments: 1, plus, 2
Last modified 2yr ago
Copy link