Measures Concepts
GitHub icon

Simple Actor Language System and Architecture

Simple Actor Language System and Architecture - Programming language

< >

Simple Actor Language System and Architecture, aka Simple Actor Language System and Architecture, is a programming language created in 2001.

#1149on PLDB 23Years Old

The SALSA programming language (Simple Actor Language System and Architecture) is an actor-oriented programming language that uses concurrency primitives beyond asynchronous message passing, including token-passing, join, and first-class continuations. It also supports distributed computing over the Internet with universal naming, remote communication, and migration linguistic abstractions and associated middleware. For portability, it produces Java code.. Read more on Wikipedia...


Example from Wikipedia:
module demo; /* This behavior simply prints out a string, reads a line from the Standard Input, combines the return value of the Standard Input with other strings, and then prints out the combined string. */ behavior StandardInputTest{ public StandardInputTest() {} String mergeString(String str1, String str2, String str3) { return str1+str2+str3; } void act(String[] args) { standardOutput<-println("What's your name?")@ standardInput<-readLine()@ self<-mergeString("Hi, ",token, ". Nice to meet you!" )@ standardOutput<-println(token); } }

Language features

Feature Supported Token Example
Comments ✓
/* A comment
*/
MultiLine Comments ✓ /* */
/* A comment
*/
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout