Pascal...

Hi,

I am a Pascal programmer. Been one all my life. All my 25 years of code is in Pascal.
Now I have to develop for mobile platforms.
I selected Corona / Lua as it is the only language which I have any chance to learn.
But I _need_ to be able to use chucks of Pascal code in my apps.
I downloaded a Lua-Pascal kit
( http://www.spreendigital.de/blog/2009/09/28/lua-5-1-for-delphi-2010/ )
which makes it possible to call Pascal code from Lua. But I don't see any way to pre-compile the Pascal into binary modules for IOS or Android, which I could then load in Corona Lua.
Is there any way to generate binary modules which can be loaded in Corona Lua?

Thanks, Bart

Hi Bart,

sorry, no support in Corona for external libraries what so ever. You can only use uncompiled Lua code/libraries.

Cheers
Michael

http://blog.fantomgl.com
http://www.twitter.com/mhartlef

You might as well just convert it.

I've been doing Pascal since '95 (Delphi 1 - 7) but wouldnt attempt to use any of that code. If you dont have it get yourself a copy of Programming in Lua 2nd edition which covers how you implement objects in Lua, might help with the transition.

Gary

views:1802 update:2011/9/21 9:18:04
corona forums © 2003-2011