At last months get together, I mentioned I was working on a scripting
language for my game. Just yesterday I put up a demo on my blog, so if
you are interested check it out :)
http://www.cpudreams.com/2010/02/storm-programming-language.html
Fernando
Phil Knoll 2815 Rio Grande #210 Austin, TX, 78705
; in Storm
(def MyAddFunction (leftHandSide, rightHandSide)
(+ leftHandSide rightHandside))
// in Boo
def MyAddFunction (leftHandSide, rightHandSide):
return leftHandSide + rightHandSide
Basically if you indent Storm code in a meaningful way and then remove
the parenthesis it should be pretty close to Boo's syntax. The other
main difference is like in Lisp operators are not infix. So 1 + 2 + 3
becomes (+ 1 2 3). You can use the chain operator to rewrite
expressions to an infix format (-> 1 (+ 2) (+ 3)), which is really
convenient when working with .Net object graphs. Commas are optional
so you can add them in as you please to help readability. If you
haven't programmed in a Lisp-like language before check out the Arc
tutorial for a quick introduction to another Lisp like language:
http://ycombinator.com/arc/tut.txt
Fernando