Next: , Previous: Filter Mode Interface, Up: Filter Mode Interface


2.5.1 Loading All of Standard Input at Once

Unless --line-map or --byte-transducer is used as a command line option when the application is invoked, the contents of standard input are loaded entirely into memory by avram before evaluation of the virtual code begins. This interface is obviously not appropriate for infinite streams.

The virtual code application in this mode of operation is treated as a single function taking the entire contents of standard input as its argument, and returning the entire contents of standard output as its result. Hence, this interface is one of the simplest available.