(svn r15578) -Change: unexternalise squirrel.

This commit is contained in:
rubidium
2009-02-25 01:21:50 +00:00
parent b2def94607
commit a9dd6dc2f5
81 changed files with 14906 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/*
*
* Original Javascript version by David Hedbor(http://www.bagley.org/~doug/shootout/)
*
*/
function fib(n)
{
if (n < 2) return 1
return fib(n-2) + fib(n-1)
}
local n = ARGS.len()!=0?ARGS[0].tointeger():1
print(fib(n)+"\n")