News for hackers. Stuff that matters.
Re:Streem – a new programming language from Matz by ori_b on Thursday December 11, 2014 @01:39PM (#8736367)
Sounds like a job for structural regex: http://doc.cat-v.org/bell_labs/structural_regexps/se.pdf
Re:Streem – a new programming language from Matz by dwenzek on Friday December 12, 2014 @04:31AM (#8739224)
Yes, this paper is interesting.

It shows well how a slight shift on the problem expression can lead to a more powerful, simpler to use and general solution. In this case, the shift is to design stream processors (like `sed` and `awk`) to work on streams of text chunks defined by regular expressions rather on streams of lines matching regular expressions.

Regarding this concern, it's hard to say what is the plan of Matz for Streem with a single code example. But the fact, that this sample code processes a stream of integers, lets hope a tool with more flexibility than `sed` or `awk` to specify what is processed along the streams.