The following code shows the Pimp language output for some specific input, showing some of the benefits from using such a nice language.
an Account:owner, amount
is positive?
@amount >= 0
debt:value
Account(@owner, @amount - value)
Another type:
a Manager:name
pimp my Account
with a Manager
my_account is Account(owner is "guilherme", amount is 50)
my_account's manager is Manager(name is "paulo")
print my_account's manager's name
paulo
yo, tell me my_account's manager's name
Carlos
my_account, sup dawg?
my owner is guilherme, amount is 50, manager's name is Carlos
Hmmm "if you want to contribute, just fork me!"
whatever