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

Evaulate instead of generate #23

Open
kasajian opened this issue Jul 24, 2018 · 0 comments
Open

Evaulate instead of generate #23

kasajian opened this issue Jul 24, 2018 · 0 comments

Comments

@kasajian
Copy link

I need a tool that will take a C# LINQ Expression tree, like the input for this project, but rather than create JavaScript out of it, it evaluates it on demand -- it would be somewhat equivalent to creating JavaScript and then using a JavaScript interpreter on it. But what I want is given the expression tree, I want to actually evaluate it by interpreting on demand.

I realize I can call .Compile() on the expression and run it, but I can't do that for my project.

I'm thinking of starting with this project as an example and then removing the JavaScript generation code and replacing it with an interpreter. If I did that, are there any issues or limitations that you guys think I might run into?

@kasajian kasajian changed the title Evaulate instead of genreate Evaulate instead of generate Jul 30, 2018
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

1 participant