It’s been a while since my last post, 250 days to be exact. While I haven’t posted I have been working on Pika and hopeful sometime this fall I will release the next version.
Pika version 0.12.0 is now in the Mercurial repository. This release focuses on stability, consistency and documentation. A number of method were renamed and added in math and os. The RegExp library is now fully functional. Finally the documentation process is almost half-way through. For a full list of changes see the list below.
I wanted to let everyone know that Pika 0.12 is being worked on and will be released as soon as possible. The big thing that 0.12 adds is documentation. The documentation can be specified with an annotation and grabbed at runtime. Should make it easier for people to try Pika out.
Generators are objects that store the stack and state of a function call in response to a yield statement. They can then be called to restore the previous state of that function call. The function will resume execution just after the last yield statement. A generator will exit when a return statement is encountered. You can do that explicitly or just let the function exit normally.
One of the newest features of Pika added in version 0.10.1 is the runtime annotation syntax. These annotations are placed before function, class, property and package declarations. They can be stacked, with the one closest to the declaration (or subject) being the first called and the one furthest called last.