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

Please support .NET core #13341

Open
AceHack opened this issue Nov 19, 2017 · 10 comments
Open

Please support .NET core #13341

AceHack opened this issue Nov 19, 2017 · 10 comments

Comments

@AceHack
Copy link

AceHack commented Nov 19, 2017

Please create an updated version of nemerle that supports .net core.

@exbor
Copy link

exbor commented May 20, 2019

At least a reply would be nice :/ Is nemerle abandoned already?

@NN---
Copy link
Member

NN--- commented May 20, 2019

Implementing .NET Core backend is possible but requires a big project redesign.
There is an ancient branch for CCI but work never finished. https://github.com/rsdn/nemerle/tree/cci

It seems like a better solution today is to leverage Roslyn backend which is stable and suppoeted.

Actually with .NET Core 3.0 it might be possible as Nemerle has big dependency in System.Reflection.Emit and this namespace is being populated during .NET Core releases.
The only thing that has to be done is make a compiler bootstrap and have all methods implemented.

@olyvyt
Copy link

olyvyt commented May 21, 2019

In our project, where Nemerle + Nitra was used, we switched to Antlr due to Antlr being still developed and better community support and Nemerle was not used at it's full capacity. And Roslyn sounds more logical nowadays.

@NN---
Copy link
Member

NN--- commented May 28, 2019

https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=vs-2019

You can try running Portability Analyzer for .NET Core 3.0 and tell what is missing. Perhaps nothing is missing and then it will be not hard to make it work in .NET Core!

@kskalski
Copy link
Contributor

I guess we would be able to target .net 5.0, which promises compatibility with .net 4.0, but I don't think it's possible to "just run" old .net 4.x executables on .net 5 runtime (yet?).

@eugene-kiba
Copy link

Any updates?

@someone-with-default-username
Copy link
Member

Threre is a branch 'retarget-compiler' that contains version of compiler that can build .NET Core binaries.

@altbodhi
Copy link

altbodhi commented Dec 27, 2021

I tried experimenting with dotnet build proj and compiled nemerle dlls. It is stable and work.
Under NET6. See msbuild keys for details in app.nproj.
https://github.com/altbodhi/NugetNemerleCore

@AceHack
Copy link
Author

AceHack commented Dec 27, 2021

Will there be official dotnet core support?

@altbodhi
Copy link

altbodhi commented Dec 27, 2021 via email

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

8 participants