views:

515

answers:

1

Is there an equivalent of .net's Expression Trees that underly LINQ for the JVM? I would like to implement some LINQ like code structures in Scala and I am wondering if I have to roll my own expression tree library also.

Update: I am not interested in a linq equivalent itself. .net has a large set of expression tree tools that make it easy to dynamically compile code at runtime can have it be callable from your code. The project I want to undertake has no relation to databases. Expression tree's provide an easy way to describe code that operates on data.

If there is no library my other option I think is to create one that emits byte code.

+1  A: 

Check the answers to these other questions:

This is a fairly popular question.

Cesar
Thats also a fairly useless answer
MalcomTucker