News for hackers. Stuff that matters.
Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET by paavohtl on Wednesday May 21, 2025 @01:22AM (#44048516)
Not easily. There's no built-in way to access the abstract syntax tree (or equivalent) of a function at run time. The best thing you can do is to obtain the source code of a function using `.toString()` and then use a separate JS parser to process it, but that's not a very realistic option.

There are no comments on this comment yet.