code_junkie

Any reason I couldn't create a language supporting infix, postfix, and prefix functions, and more?

Nov 13th, 2011
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. a * b => multiply(a,b)
  2.  
  3. a squared => a * a
  4.  
  5. a ? b : c => if a==true then b else c
  6.  
  7. x + y + z
  8.  
  9. prefix (e) postfix
  10.  
  11. a * b squared
Add Comment
Please, Sign In to add comment