Language Syntax
Numerals consist of ASCII digits 0-9. Identifiers are UNICODE sequences of digits, letters, and operator characters that begin with a letter. It is also possible to form identifiers by using UNICODE sequences (including whitespace) enclosed by either straight (' ') or standard (‘ ’) single quotes, where the backslash is the escape character. Keywords have to start with a letter, except the • keyword to send information. Operators consist of UNICODE sequences of digits, letters, and operator characters, beginning with an operator character. Labels are identifiers followed by a colon (':').
At the root, Joule is an imperative language and because of that a statement-based language. It has a rich expression syntax, which transforms easily to its relational syntax underneath. Complex expressions become separate statements, where the site of the original expression is replaced by a reference to the acceptor of the results channel. Therefore, nested expressions still compute completely concurrently with their embedding statement.
If amount <= balance • account withdraw: amount else • account report-bounce: end
An identifiers may name a channel to communicate with the server. If this is the case, it is said to be bound to that channel.
Read more about this topic: Joule (programming Language)
Famous quotes containing the word language:
“English general and singular terms, identity, quantification, and the whole bag of ontological tricks may be correlated with elements of the native language in any of various mutually incompatible ways, each compatible with all possible linguistic data, and none preferable to another save as favored by a rationalization of the native language that is simple and natural to us.”
—Willard Van Orman Quine (b. 1908)