SR (programming language)

SR (short for Synchronizing Resources ) is a programming language created for parallel programming.

Hello World in SR

# Simple program resource hello body hello ()      write (" Hello world" ) end It is also possible to a compressed version. It omits "body hello ()" and writes only "resource hello ()" but this time with braces.

# Simple program resource hello ()      write (" Hello world" ) end The name of the resource is not connected to the file name. The above program "hello" can be stored in a file that is called


The SR program code is translated by sr - o name into an executable program. The translation is performed in two steps: In the first step of the SR source text is parsed and translated into C source code. Then this with a normal C compiler (eg GCC) is compiled.