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