Need help with streem?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

4.5K Stars 255 Forks MIT License 982 Commits 25 Opened issues


prototype of stream based programming language

Services available


Need anything else?

Contributors list


Build Status Gitter

Streem is a stream based concurrent scripting language. It is based on a programming model similar to the shell, with influences from Ruby, Erlang, and other functional programming languages.

Note: Streem is still in the design stage. It's not working yet. Stay tuned.


Installing dependencies

  • bison
  • flex
  • gcc / clang

Run make



In Streem, a simple

program looks like this:
stdin | stdout

You can try it out by (firstly

to streem top directory):
$ bin/streem -e 'stdin | stdout'


$ bin/streem examples/01cat.strm

Streem is a (sort of) DSL for data flows. Above code means building data-flow connection between

. Actual data processing will be done in the event loop invoked after program execution.

For another example, a simple FizzBuzz will look like this:

# seq(100) returns a stream of numbers from 1 to 100.
# A function object in pipeline works as a map function.
# stdout is an output destination.
seq(100) | map{x->
  if (x % 15 == 0)     "FizzBuzz"
  else if (x % 3 == 0) "Fizz"
  else if (x % 5 == 0) "Buzz"
  else                 x
} | stdout

The second part in the pipeline (

{x ->...}
) is a function object. If a function object is connected in the pipeline, it will be invoked for each element in the stream.

There are more examples under folder

. Just play with them!


Send a pull request to We consider you have granted non-exclusive right to your contributed code under MIT license. Use for discussion.


MIT license (© 2015-2016 Yukihiro Matsumoto)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.