1. A method comprising: receiving, by a computing device, a source code file comprising one or more iterator-based expressions, wherein an iterator is an abstraction between an internal representation of a data structure and one or more functions that operate on the data structure, and an iterator-based expression is an expression that uses an iterator; for each of the one or more iterator-based expressions: replacing one or more operators in the iterator-based expression with one or more symbols corresponding to an operator class associated with each of the one or more operators by the computing device; generating a string comprising the iterator-based expression with the replaced one or more operators by the computing device; and processing the generated string to generate one or more non-iterator-based expressions that are functionally equivalent to the iterator-based expression by the computing device; associating, by the computing device, the generated one or more non-iterator-based expressions with the source code file; and compiling the source code file and the associated one or more non-iterator-based expressions to generate a computer executable program.
1. A method comprising: receiving, by a computing device, a source code file comprising one or more iterator-based expressions, wherein an iterator is an abstraction between an internal representation of a data structure and one or more functions that operate on the data structure, and an iterator-based expression is an expression that uses an iterator; for each of the one or more iterator-based expressions: replacing one or more operators in the iterator-based expression with one or more symbols corresponding to an operator class associated with each of the one or more operators by the computing device; generating a string comprising the iterator-based expression with the replaced one or more operators by the computing device; and processing the generated string to generate one or more non-iterator-based expressions that are functionally equivalent to the iterator-based expression by the computing device; associating, by the computing device, the generated one or more non-iterator-based expressions with the source code file; and compiling the source code file and the associated one or more non-iterator-based expressions to generate a computer executable program. 3. The method of claim 1 , wherein the one or more iterator-based expressions comprise declarative queries.