yanghuan / CSharp.lua

The C# to Lua compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a source translator but not a compiler!

2dpdlja496or43iq opened this issue · comments

I can't reference .NET assemblies like the real dotnet. What it does is simply translating the C# source into Lua. It will not work without the source. The developer said people has to use a decompiler to decompile the DLL to C# source before able to use this compiler. Why don't this compiler do this automatically for the users? I only want able to reference .NET assemblies, what happened under the hood I don't care!

The initial design was a source-to-source translator, similar to Scala.js in naming convention. It uses Roslyn to parse C# source code, and Roslyn does not have the ability to decompile DLLs. Therefore, decompilation support was not considered.

I'm poking a dead issue here, but the proper term would be a "transpiler"