A Network Programming Language based on Concurrent Processes and Regular Expressions

K. Hatori and K. Hiraki (Japan)

Keywords

network programming, concurrent processes, regular ex pressions, domain specific languages

Abstract

We propose a new programming language Preccs for networking and implementing communication protocols. Preccs is based on ideas of concurrent processes and regu lar expressions. We designed the language for simple and intuitive description of communication protocols. Then, we have developed a Preccs compiler that generates C code from a Preccs source program. The generation of C code with the Preccs compiler will make it possible for reliable communication programs development in a short period. In order to evaluate the effectiveness of our approach, we have implemented a simple HTTP server and a simple VoIP ap plication in Preccs. Both of them are implemented in a few lines of code.

Important Links:



Go Back