Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
https://docs.microsoft.com/en-us/troubleshoot/dotn...
https://docs.microsoft.com/en-us/dotnet/csharp/exp...
Yes. Here people give an example with embedding a full-fledged compiler or interpreter (Compiling C # at runtime, lua / luajit) - this is possible, but in principle no one forbids embedding some kind of limited DSL and interpreting it yourself. You need to step back from the task.
Embedding a full-fledged language is a rather dangerous feature, as you can run into the publishing rules in the Apple appstore, which prohibit software that allows you to interpret custom code if the game is mobile.
It's strange that the solution marked the wrong answer.
This approach is fundamentally wrong. Like the answer about Lua.
You need to look towards ANTLR. It allows you to implement independent processing and "compilation" of text in any language invented by the author.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question