Metaprogramming allows the programmer to manipulate basic Libretto entities (packages, classes, functions and fields) as mutable data structures. The tools, which are outlined in this section, can affect the basic object model of the program. Since they are powerful and brutal, it is recommended to use them with great caution and only when necessary.
Wednesday, 29 February 2012
Standard Library (3 of 5). Metaprogramming
Metaprogramming allows the programmer to manipulate basic Libretto entities (packages, classes, functions and fields) as mutable data structures. The tools, which are outlined in this section, can affect the basic object model of the program. Since they are powerful and brutal, it is recommended to use them with great caution and only when necessary.
Standard Library (2 of 5). Multitasking
Multitasking is implemented in the Libretto standard library. The basic components of concurrent computing in Libretto are the actor model and software transactional memory based on the optimistic approach.
Monday, 27 February 2012
Saturday, 25 February 2012
Computing in Libretto (5 of 5). Comments
There are two types of comments in Libretto: doc comments and code comments.
Friday, 24 February 2012
Computing in Libretto (4 of 5). Exception Handling
Exceptions and their handling in Libretto are considered here. Please pay your attention to local traps.
Thursday, 23 February 2012
Computing in Libretto (3 of 5). Local Variables
All variables in Libretto are local and inaccessible from the global context. The types of Libretto variables are:
- Block variables
- Path variables
- Parameter variables.
var
) and immutable (marked by fix
).
Computing in Libretto (2 of 5). Expressions
In this post I describe the basic types of Libretto expressions.
Subscribe to:
Posts (Atom)