<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lsl on Hans Kruse</title><link>https://hanskruse.eu/tags/lsl/</link><description>Recent content in Lsl on Hans Kruse</description><generator>Hugo</generator><language>en-GB</language><copyright>© Hans Kruse</copyright><lastBuildDate>Thu, 25 Aug 2016 23:37:43 -0700</lastBuildDate><atom:link href="https://hanskruse.eu/tags/lsl/index.xml" rel="self" type="application/rss+xml"/><item><title>Memento in Second Life</title><link>https://hanskruse.eu/post/2010-06-20-memento-in-second-life/</link><pubDate>Sun, 20 Jun 2010 02:06:00 -0700</pubDate><guid>https://hanskruse.eu/post/2010-06-20-memento-in-second-life/</guid><description>&lt;p&gt;After grasping the power of Memoize in VB.NET and C#, I tried my luck at making a memoizing Fibonacci generator in Second Life&amp;rsquo;s scripting language LSL. &lt;a href="http://secondlife.com/"&gt;Second Life&lt;/a&gt; is a 3D virtual world where end users can create their own world using basic building blocks. They can script their creation with a scripting language called LSL. This language gets compiled to Mono&amp;rsquo;s runtime.&lt;/p&gt;&#10;&lt;p&gt;LSL is somewhat limited. It does not allow for closures or lambda functions. It also has a very limited set of datatypes. It does not have arrays. It has immutable lists. A list in LSL can contain elements of string, integer and other types but not lists themselves. For Fibonacci a list with only integers will do.&lt;/p&gt;</description></item></channel></rss>