Yesterday somebody asked me about to create games for webbrowsers and mobile devices.

I know that FreePascal can build iOS executables, but this wouldn't be enough. If I remember correctly, there is a compiler that translates Pascal programs to Adobe Action Script/Flash. Also I know there are a FPC fork that builds web applications using JavaScript. The problem is that I forgot the names. Also I don't know how much compatible they are.

Do you know about compilers, packages and/or engines that allow to use Pascal to create games for webbrowers and/or mobile devices?