I've been working on this scripting engine for an upcoming game. It's syntax is heavily based on lisp/scheme. I'll post it here in hope for thoughts/suggestions/bug reports/etc... (and to show it off of course :P)
http://magos.thejefffiles.com/ScriptSyntaxTester.zip
(No source code available at this point)
Sample 1:
Sample 2:Code:(function fac (n) (if (<= n 1) 1 (* n (fac (- n 1))))) (fac 5)
Sample 3:Code:(function Create () (locals ((Counter 0)) (lambda () (set Counter (+ Counter 1))))) (globals (Object (Create))) (Object) (Object) (Object) (Object) (Object)
EDIT: If you downloaded this within the first 5 minutes it was uploaded, please download again, especially if you experience horrible crashes sometimes ^^.Code:(globals (Var1 123) (Var2 456) (Var3 789)) (function GetRandomVar () (eval (reference (+ "Var" (RandomInt 1 3))))) (GetRandomVar)