|
07:10
viklund joined
13:53
masak joined
14:19
masak joined
|
|||
| masak | viklund: dz | 14:23 | |
| viklund | masak: I've written the perl6-recursion program entierly in PIR, from scratch, it works! | ||
| masak | viklund: kudos. | 14:24 | |
| viklund | now I'm thinking about slowly converting it into the perl6-compiled version | ||
| it's really short | |||
| masak | viklund++ | ||
| could you paste it? | |||
| viklund | paste2.org/p/69834 | ||
| masak | viklund++ # coding in PIR | 14:25 | |
| viklund | I think the problems will start once we start using PMCs | ||
| masak | aye. | ||
| methinks you should post that code to #58392, to avoid duplicated effort | 14:27 | ||
| viklund | why? | ||
| it's really easy to write | |||
| masak | as you wish :) | ||
| viklund | there was a recursive function example in the parrot intro.pod | ||
| masak | aha :) | ||
| viklund | 'factorial' of course | ||
| masak | so you haven't reduced our example, but built from scratch? | 14:28 | |
| viklund | yep | 14:29 | |
| I thought expanding that until it fails | |||
| was a better strategy since I didn't know PIR it was a better aproach | 14:30 | ||
| I'm writing funnily today | |||
| should go home and learn grammar or something. | 14:31 | ||
| there should have been a comma between 'strategy' and 'since' | |||
| moritz_ | grammar is overrated | ||
| masak has learnt chinese grammar all day | 14:33 | ||
| I vehemently disagree about grammar being overrated | |||
| it's underrated! :) | |||
| also, it's kind of a miraculous coincidence that you can speak about things like NP and VP in a language as different as Chinese | 14:35 | ||
| is someone able to interpret the content of use.perl.org/comments.pl?sid=40861&cid=64734 ? | 14:40 | ||
| I tried iconv, and the most promising setting was -f utf-8 -t iso-8859-1 | |||
| but iconv chokes a few characters into the text | 14:41 | ||
| viklund | masak: have you looked at the source? | 14:45 | |
| masak | no, why? | 14:46 | |
| viklund | it's only character classes | ||
| masak doesn't understand | |||
| viklund | it's: 'неоп...' | 14:47 | |
| masak | anyways, I removed the Ñ's and now iconv swallows it | ||
| viklund | ah | ||
| masak | "неопеделеннми", not "не опеделеннми" in this case; - "еализован", not "елизован" | ||
| hope the Ñ's didn't convey anything important :) | |||
| viklund | heh, lot's of squares... | ||
| masak | get a better font :) | 14:48 | |
| viklund | usually it dosn't choke on anything... | ||
| any recomendation? | |||
| masak | no, Just Works over here | 14:52 | |
| mind you, might be b0rked encodings, so try producing some Cyrillic letters yourself | 14:53 | ||
| moritz_ | which encoding is borked? | 14:54 | |
| masak's are fine | |||
| masak | moritz_: sorry, I'm using "encoding" a bit sloppily :) | ||
|
19:26
viklund joined
|
|||