The implementation of CSP-S (a subset of CSP)-a high level language for distributed programming-is presented in this paper. The language CSP-S features a parallel command, communication by message passing and the use of guarded command. The implementation consists of a compiler translating the CSP-S constructs into intermediate language. The execution is carried out by a scheduler which creates an illusion of concurrency. Using the CSP-S language constructs, distributed algorithms are written, executed and tested with the compiler designed.
All Science Journal Classification (ASJC) codes
- Computer Science(all)