Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is a source translator but not a compiler! #422

Open
2dpdlja496or43iq opened this issue Apr 23, 2023 · 2 comments
Open

This is a source translator but not a compiler! #422

2dpdlja496or43iq opened this issue Apr 23, 2023 · 2 comments

Comments

@2dpdlja496or43iq
Copy link

2dpdlja496or43iq commented Apr 23, 2023

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!

@yanghuan
Copy link
Owner

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.

@melodicore
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants