Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-09-26

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

All times shown according to UTC.

Time Nick Message
01:30 vendethiel joined #6macros
07:38 vendethiel joined #6macros
11:49 FROGGS joined #6macros
14:11 FROGGS_ joined #6macros
20:36 vendethiel joined #6macros
22:13 vendethiel I'm reading the visitor example with some brainpower now
22:14 vendethiel I like that it's using Perl6-syntax for destructuring, ofc
22:14 vendethiel masak: how do you test a macro?
22:14 vendethiel such a macro
22:15 vendethiel just EVAL and look at the results?
22:17 masak who is the person testing in this case?
22:18 masak a module writer? a compiler implementor?
22:18 vendethiel macro module writer
22:18 vendethiel well, macro-using module*
22:18 vendethiel to check, say, for diagnostics, for false positives, etc
22:18 vendethiel possible use case: implement "is deprecated" as a vmacro (????)
22:19 masak aye
22:20 masak I don't immedaitely have an answer to that.
22:20 masak will need to sleep on it, I think.
22:20 masak possibly the answer will even differ depending on if we're testing for transformed Qtree output, or side effects such as dying or mucking with global state
22:20 masak 'night, #6macros
22:21 vendethiel 'night :-)
22:21 vendethiel mmh, is there any reason "is parsed" doesn't simply use destructuring instead? not enough flexible, probably
22:22 vendethiel 'think we'll want FROGGS++'s input there
22:26 vendethiel >     # ...code to check that $expr is of the form `{{{$var}}} = {{{$value}}}` elided...
22:26 vendethiel maybe that should be possible from "is parsed", or maybe a subset should be defined?

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