Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-04-18

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:48 ilbot3 joined #marpa
01:48 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Code paste: http://scsys.co.uk:8002/marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today - Youtube channel: https://www.youtube.com/channel/UCYKVfGBtfTqbs1JdYq-dc5g
02:12 ronsavage joined #marpa
05:21 ronsavage joined #marpa
07:58 sirdancealot joined #marpa
09:27 sirdancealot joined #marpa
19:06 idiosyncrat joined #marpa
19:09 idiosyncrat Spent the last 2 days on a Perl Unicode issue, which I'm tempted to call a Perl bug.
19:09 idiosyncrat Unicode keys work in a Perl hash, and Marpa::R3 relies on them.
19:10 idiosyncrat But of the two XS methods for getting the key: hv_iterkey() and hv_iterkeysv(), only hv_iterkeysv() works.
19:10 idiosyncrat I don't think this is documented anywhere.
19:10 idiosyncrat Anyway, now back to real productive work.
19:14 idiosyncrat Btw, if anyone does know of where the limitation of hv_iterkey() is documented, let me know, I'd be curious for future reference.
19:17 idiosyncrat The problem codepoint was U+00C1, which hv_iterkey() returned as the length-1 string 0xc1 and which hv_iterkeysv() returns, correctly, ...
19:18 idiosyncrat as an SV containing the length-2 string 0xC381.
19:19 idiosyncrat That is, hv_iterkey() the Unicode codepoint, and hv_iterkeysv() returns (correctly) the UTF-8 representation of that codepoint.
22:08 sirdancealot joined #marpa
22:34 ronsavage joined #marpa
23:53 idiosyncrat joined #marpa

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary