News for hackers. Stuff that matters.
Re:LInQer – C# Integrated Queries ported to Javascript by mythz on Wednesday January 29, 2020 @03:40AM (#22178583)
Parsed by who, the C# compiler? I'm not aware of anything that generates C#'s Expression AST from a string, other than a C# Compiler.

You can use Roslyn in code, but that's using the C# compiler in process.

Re:LInQer – C# Integrated Queries ported to Javascript by gpderetta on Wednesday January 29, 2020 @07:26AM (#22179727)
The code->AST is done of course at compile time (there is no reason to delay), but I believe the expression tree itself is processed by linq at runtime. You can build expressions programmatically at runtime as well (and then ask the runtime to optmize them to bytecode). I remember doing it years ago, it was surprisingly simple (and very powerful).
Re:LInQer – C# Integrated Queries ported to Javascript by mythz on Wednesday January 29, 2020 @12:17PM (#22183067)
Of course the Expression's AST generated by the C# compiler is analyzed at runtime, how else could it be done?