Question

I want to have a DSL (domain specific language) in a C# project.

I would like to build the DSL in Racket (a lisp-like programming language), because I believe it is well suited for creating domain specific languages.

And important part of all this is that C# can call Racket code.

Can Racket be compiled to a .DLL, which can then be called by C#?

In general, how good is the interoperability of C# and Racket?

Était-ce utile?

La solution

Racket requires a substantial runtime system, including its own heap. Racket does have some support for being embedded, but it's a whole lot of work. Speaking personally, I would encourage you to look for other ways of making this work.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top