Created
June 4, 2011 01:09
-
-
Save voodootikigod/1007426 to your computer and use it in GitHub Desktop.
BS ≈ BreakfastScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conditionals | |
( false :) | |
console.log "if" | |
:( true ) | |
console.log "else if" | |
:() | |
console.log "else" | |
Function definition | |
// Bacon equal == function definition RHS | |
name ≈ (var1, var2) { | |
#var1 //waffle == return | |
} | |
variable setting | |
// Sausage links equal == set value from RHS | |
name = "boo" | |
Array Comprehension | |
// OJ operations -- array passed in left side, right side available as oj returns array. | |
\ arr _ oj*2 / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment