AmbientTalk is a programming language created in 2006.
#1782on PLDB | 18Years Old |
when: ChatService discovered: { |chatService| when: chatService<-login(roomID, username) becomes: { |chatRoom| chatRoom<-chat("hello world"); // async message send whenever: chatRoom disconnected: { system.println("you're offline"); }; whenever: chatRoom reconnected: { system.println("you're online again"); }; }; };
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | ||
MultiLine Comments | ✓ | ||
Line Comments | ✓ | ||
Integers | ✓ | ||
Floats | ✓ | ||
Strings | ✓ | "Hello world" | " |