lua-users home
lua-l archive

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

Because several frameworks like XNA and Silverlight only allow 100%
managed code. I think the C++ to CLR compilation would make the use of
unmanager pointers wouldn't it?

But using the Java version sounds good. I just glanced at the code,
and it doesn't look that hard to translate. The two languages are very
similar in syntax.


On Sat, Sep 5, 2009 at 5:19 AM, John Hind<> wrote:
> I'm missing something here ...
> If what you want is .NET Managed Code, the Microsoft compilers will generate
> that from C++ (and therefore from the standard Lua sources which are C++
> compatible C). Why do you need to translate to C#?
>> -----Original Message-----
>> From: [mailto:lua-
>>] On Behalf Of steve donovan
>> Sent: 05 September 2009 08:14
>> To: Lua list
>> Subject: Re: Getting lua to travel on .NET and the like
>> On Sat, Sep 5, 2009 at 8:44 AM, Raymond Jacobs<>
>> wrote:
>> > I agree, just seems no one has undertaken this yet, I wonder why.
>> Because it's hard ? ;)
>> Here's a suggestion for someone with the need and some time: work with
>> a pure-Java implementation of Lua like Kahlua and translate that to
>> C#.  A much more natural fit, given the (intended) simularities of the
>> languages.
>> steve d.

“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)