, though we are rather fond of them for obvious reasons.
Submitted by NotFound on Sun, 08/07/2011 - 14:52
With the recent addition of the as_string method to UnManagedStruct and Ptr PMCs (see my last post) and the get_pointer vtable in ByteBuffer now is easier to pass and get strings from NCI (parrot Native Calll Interface).
To pass a string to a NCI 'p' parameter you just need to create a ByteBuffer and set the string to it, maybe after trans_encoding it, and add the zero-termination required in most usages by pushing a 0 value. ByteBuffer takes care of memory management.
Submitted by soh_cah_toa on Sat, 08/06/2011 - 04:14
A long time ago in a galaxy far, far away...
It is a period of binary war. Rebel hackers, striking from a hidden base in New Jersey have won their first victory against the evil IMCC Empire.
Submitted by NotFound on Sun, 07/31/2011 - 20:18
The last refactor of the NCI subsystem got rid of the 't' type used to pass C strings. This gives us more flexibility but doesn't solve all problems.
Take for example Mysql: we can specify the character set used for the connection with the database, and sometimes we can't use the current locale. We may want to read a table that contains unicode characters out of the range compatible with latin-1 without loses, while using latin-1 locale.
Submitted by soh_cah_toa on Thu, 07/28/2011 - 23:37
This past week was admittedly dull. I've reached a bit a road block and this time it's blocking the way forwards, backwards, left, and right.
Submitted by bubaflub on Sun, 07/24/2011 - 19:46
My coding has been put on hold this week as I move across town and deal with some shenanigans from the landlord. The good news is that my wife and I should be able to move into our new house on Tuesday or Wednesday - the bad news is that I am currently internet-less until then. I've been working on updating the tutorial which doesn't require any internet access, just time. By this time next week I hope to complete the tutorial, have some more examples, and begin trying to get some examples in NQP or even on Rakudo.
Submitted by jkeenan on Sun, 07/24/2011 - 14:02
The release quotation contest is over. We received four submissions, each of which was correct. In order of receipt, they were from:
- Ville Koskinen
- Lucas Buchala
- Daniel S.
- Javier M. Mora
Each of the four submissions appears to have met the do-not-use-the-Internet condition for researching the answer. In fact, each of the four appear to have gotten the answer the old-fashioned way:
They remembered it!
Submitted by tcurtis on Thu, 07/21/2011 - 23:01
We're halfway through the summer, now. I have not made nearly as much progress as I had previously hoped. Partly this is due to the difficulty of the problem, and partl\
y it is because I have not spent enough time on it. I think I'm currently at a point where I'm only a few mostly simple transformations away from producing a Determinis\
tic Push-Down Automaton which will be capable of parsing a LR(0) grammar. Whether implementing those last few mostly simple transformations will show this belief to be \
correct or not, I won't know until I do so.
Here are my next few goals:
Submitted by lucian on Thu, 07/21/2011 - 19:07
I've been doing a lot less work than I had planned to. It's mostly my own fault, but such is life.
Basically, I ran out of money. Uni ended late, GSoC started early and the GSoC midterm was late this year. I had to borrow some and get a temporary full-time job for a couple of weeks. Now I have a part-time job (2 days a week), and I have the rest of the time free for GSoC work.
But not all is lost! Here's some puffins to make us all feel better:
Submitted by rohit_nsit08 on Tue, 07/19/2011 - 17:03
hmm..tired after a busy week with lots of paper work and formalities for coming job session.
Coming back to CorellaScript which is now able to run tests and ensure no feature breaks while implementing the new ones .
As the last month is approaching I have started working side by side on ducumentation as well to avoid any last minute hassle,
last few days were not much productive as lots of things kept me busy but now that I'm done with them I can began work again
Submitted by jkeenan on Tue, 07/19/2011 - 05:20
We are proud to announce Parrot 3.6.0, also known as "Pájaros del Caribe". Parrot is a virtual machine aimed at running all dynamic languages.
Parrot 3.6.0 is available on Parrot's FTP site, or by following the download instructions. For those who want to hack on Parrot or languages that run on top of Parrot, we recommend our organization page on GitHub, or you can go directly to the official Parrot Git repo on Github.