Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-06-30

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

All times shown according to UTC.

Time Nick Message
01:38 vendethiel joined #6macros
02:51 vendethiel joined #6macros
04:15 vendethiel joined #6macros
05:30 vendethiel joined #6macros
07:20 Ven joined #6macros
08:48 Ven joined #6macros
09:04 Ven joined #6macros
11:20 vendethiel joined #6macros
11:47 vendethiel joined #6macros
12:40 vendethiel joined #6macros
13:04 Ven joined #6macros
13:09 vendethiel joined #6macros
14:26 Ven joined #6macros
15:20 vendethiel joined #6macros
15:54 Ven joined #6macros
16:11 Ven masak: does 007 have modules?
16:11 Ven i'm thinking about implementing macros
16:23 masak 007 does not have modules, but could have, I guess.
16:23 masak 007 does however have macros. but not yet unquotes.
16:23 masak when it gets unquotes, I want to make them like yours, in that gist. you know, useful.
16:35 vendethiel joined #6macros
16:41 Ven nice (thanks)
16:41 Ven well, I think modules make implementing modules a whole bunch harder
16:41 Ven at least if you don't already have a way to do stuff "at BEGIN time"
16:41 Ven many languages don't have such a notion
16:42 Ven sooo... I need to consider that before I try to implement them. multiple phases...
16:43 Ven I had a few more thoughts
16:43 Ven but a lot of them are just revolving around BEGIN, really
16:43 Ven do you remember my common lisp macro example?
16:43 Ven that mutated the array
16:44 Ven i'm not sure how it works currently in p6, but
16:44 Ven macro a { ... }; a; other stuff...
16:44 Ven needs to evaluate a *before LEXING* other stuff
16:44 Ven (or rather, parsing)
17:02 vendethiel joined #6macros
17:12 Ven joined #6macros
17:40 Ven joined #6macros
18:05 vendethiel joined #6macros
18:30 masak I don't remember your common lisp macro example, sadly.
18:31 masak but "before LEXING" sounds like `is parsed`-like taking charge of the parser for a while.
18:51 vendethiel joined #6macros
19:26 masak vendethiel: as I'm thinking about how to implement useful unquotes, it seems to me like -- to a first approximation -- I will need to install unquote handling in the (grammar) code path of every grammatical category.
19:27 masak or, put differently, it seems to me handling of useful unquotes is largely a cross-cutting concern in the grammar, and thus appears "everywhere", in a very scattered fashion.
19:28 masak ("scattered" and "tangled" -- two useful concepts I learned from Aspect-Oriented Programming. "scattered" is when one concern is spread over many code sites. "tangled" is when one code site has to deal with many concerns. AOP aims to solve both.)
21:31 * vendethiel reads
21:31 vendethiel sorry,i drank a bit, won't comment on that now
21:32 masak heh :)
21:33 * masak is sipping a http://www.ratebeer.com/beer/great-divide-yeti-imperial-stout/25082/
21:33 masak very decent beer.
21:38 vendethiel the beers I got at salzburg were the best

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