-
Notifications
You must be signed in to change notification settings - Fork 54
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
SL5 MacOs support #26
Comments
Extra assemblies are 100% not needed. LambdaParser uses Expression.Compile (from System.Linq.Expression) to get the evaluation result. Maybe on MacOS this API has limitations like on iOS?.. (see #21). Unfortunately, I don't have Mac and cannot propose a workaround by myself. If this doesn't help: add own implementation of expression interpreter as an alternative to "Expression.Compile" (this solution 100% will work, but requires some development - your contribution is welcome). |
Thank you for your response. I've tryed to implement the proposed workaroud but faced 2 problems:
Implementing own |
PCL targets are legacy. They are not supported any more by an official build on nuget.org. Regarding
adding own 'interpretation' mode is not a very complex, in fact. Number of operators that are possible in LambdaParser expressions is known and rather limited; to make method/property calls existing helpers may be used. However, interpretation is a much slower than a call of compiled delegate (this may be important if you need to evaluate an expression a lot of times quickly). |
I am using LambdaParser in a SL5 application, every thing is working correctly on Windows clients, but formulas are not evaluated on MacOs. The application is running with elevated privileges (signed and OOB).
Maybe need to reference some extra assemblies ?
The text was updated successfully, but these errors were encountered: