Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-05-18

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
07:17 Ven joined #6macros
07:23 Ven joined #6macros
10:32 Ven joined #6macros
12:00 Ven joined #6macros
12:35 Ven my $block-number = 0;   # Can be done with 'state' when Rakudo has it
12:35 Ven wow, yapsi is far older than I thought :o
13:14 Ven it's interesting how you build a pseudo-ast before building the actual ast, mmh.
13:49 * masak doesn't remember the details
13:52 masak the FUTURE format was meant to be a riff on (and similar to) Parrot's PAST
13:52 masak nowadays Rakudo has moved on to QAST, the (P++)AST successor
13:53 masak the SIC format was loosely based on Parrot's PIR.
13:54 masak not really an AST format. more like assembly or byte code.
14:35 vendethiel I see
14:35 vendethiel I
14:35 vendethiel what I need to do to parse infix operators has finally struck me
14:35 vendethiel and it's ridiculously easy
14:36 vendethiel I thought about it previously, but I can't remember why I dismissed it
14:39 masak do tell.
14:40 masak I've implemented an OPP a few times by now.
14:40 vendethiel see #perl6
14:40 vendethiel I think you used that forlm
14:40 vendethiel that's all I needed
14:40 vendethiel I can just sort precedence issues "later"
14:41 masak right.
14:41 masak that's what 007 does.
14:42 masak just handle the precedence in the EXPR rule
14:43 vendethiel I don't know why it didn't strike me before
14:43 vendethiel I guess I'm too used to handrolled parsers
14:43 vendethiel that manage precedence semi-by-hand
14:44 vendethiel (eww :P)
14:46 masak PGE was something close to that.
14:46 masak I mean, it amounts to the same thing, but it handled precedence as it parsed the stuff.
14:47 vendethiel :)
14:47 vendethiel even if I wanted to try new languages for this project (namely rust and nim)
14:47 vendethiel I didn't hesitate on which language should the parsing program be in...
14:47 vendethiel that definitely paid off
14:47 masak \o/
14:47 masak Perl 6 is good for something <3
14:48 vendethiel it's good for tons of thing
14:48 vendethiel I don't script in anything else, really
14:48 vendethiel .oO( except for c++ )
14:48 vendethiel (^ that was an article from a few days ago, "can c++ be your scripting language", in case you didn't read it :P too obscure a reference)
14:54 vendethiel I guess I'd like -i in perl6
14:55 vendethiel and also the "@F" switch (-n? -p? can't remember right now)
15:00 masak -a, but frequently used with -n or -p
15:00 vendethiel ah, thanks
15:00 vendethiel -p is print and -n is line-loop?
15:00 masak aye.
15:00 masak details here: http://masak.org/carl/perl-coaching/meeting-1.html
15:01 vendethiel "masak.org/carl" <- how many are there:P ?
15:01 masak effectively I'm the only one on that domain.
15:02 masak but once my sister had a page there, too.
15:02 vendethiel ETOOMANYMASAKS .oO( how many masak is one too many masak? )
15:02 masak oh wow, it's still there: http://masak.org/frida/
15:02 vendethiel oh my.
15:03 vendethiel reminds me of http://www.warnerbros.com/ar​chive/spacejam/movie/jam.htm
15:03 masak my father's site suffered PHP upgrade death, it seems: http://masak.org/peter
15:03 vendethiel that's rare
15:04 masak not on my server :/
15:04 vendethiel meant for php to break compat
15:04 masak I believe it happened for 4->5
15:05 vendethiel oh. very old php
15:05 masak aye.
15:05 masak they stayed on 4.x for a long time.
23:02 vendethiel joined #6macros

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary