lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Apr 6, 2009 at 11:33 AM, David <david.welch@thorcom.co.uk> wrote:
> Bertrand Mansion wrote:
>>
>> I am working on an interactive demo of Lua based on what was done for
>> Ruby here: http://tryruby.hobix.com/
>>
>> I still have to write a little step-by-step "tutorial" that
>> demonstrates what Lua is good at and introduces the Lua syntax. Do you
>> have any links to an existing short tutorial and/or ideas about  cool
>> one-liners in Lua ?
>>
>> Thanks,
>>
>
> I've just had a quick run through the Ruby one but got stuck
> when I typed in the wrong thing and it moved to the next step.

It uses a regular expression against the result you get from Ruby, so
maybe the regular expression was too loose, that's why you were taken
to the next step.

> Can you make the Back browser button move to the previous step?

This is a good idea. It has incidence on the way user sessions are
managed, I wil see if I can do that.

-- 
Bertrand Mansion
Mamasam