I’ve been working with dynamic code execution for quite some time now and there still seems to be a lack of a open source solution that fully tackles this problem. A lot of the libraries I keep finding seem to be outdated or only support a small subset of C#. On the other hand, embedding Roslyn isn’t a viable solution for me due to the overhead it would introduce.
So I started building my own solution. Alder is an expression engine that parses, semantically binds, validates, and executes C# code dynamically in both interpreted and compiled modes, with support for AOT dispatch as well.
Although it started as a much smaller project, I’m quite surprised by how much of the language I ended up supporting in the end.
https://github.com/MartiSilvio/Alder
Any thoughts or feedback are really appreciated
0 comments