Language and Compiler Design for Streaming Applications