|
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 28 July 2015. |
|||
|
05:43
vendethiel joined
06:43
Ven joined
|
|||
| Ven | no, I think I agree | 06:47 | |
| insofar as "text-to-Qtree" would 1) either have to be its position explicitly specified (much like unquote) 2) only be "an expression" | 06:48 | ||
| 3) scala-like "text-to-qtrees", which uses user-defined string literals, might be able to cheat better... but it's mostly our quote{} | 06:49 | ||
|
07:28
Ven joined
08:31
FROGGS joined
08:47
Ven joined
08:49
Ven joined
08:51
Ven joined
08:53
Ven joined
08:55
Ven joined
09:39
Ven joined
11:01
cfloare joined
11:36
Ven joined
12:05
Ven joined
12:34
Ven joined
|
|||
| masak | I think we should honor Perl 6's "the parser must always know which language it's parsing" dictum | 13:16 | |
| what PSI does is `methodFromText`, `annotationFromText`, `statementFromText`, etc | |||
|
13:24
Ven joined
13:49
FROGGS_ joined
13:56
Ven joined
14:36
Ven joined
|
|||
| masak | blergh. got a non-deterministic test failure in 007. | 15:00 | |
| Ven | oh? | ||
| masak | happens 100% of the time when running under `prove`. happens less than all the time when running directly with `perl6`. | 15:04 | |
| masak isolates the test, hoping that helps | |||
| Ven | O.o | 15:13 | |
| maybe that's even 6? | |||
| masak | possiblÅ. | 15:15 | |
| possibly. | |||
| the test starts passing when I move it to its own file. | 15:16 | ||
| good enough for me. :) | |||
| Ven | worse for me :P | 15:20 | |
| masak | I haven't committed yet. I'm open to suggestions. | 15:21 | |
| Ven | well, I'd need more precisions | ||
| harder without | |||
| masak | the test expects an exception to be thrown. | 15:23 | |
| Ven | what kind? | ||
| masak | X::Redeclaration::Outer | ||
| Ven | maybe it doesn't hit the right parser path? | ||
| and fails on something else instead? | |||
| masak | the code is 'my f; { f = 3; sub f() {} }' | 15:24 | |
| no no, it *does* fail, whenever I run it directly. | |||
| Ven | mhm. | ||
| masak | that is, it correctly throws that exception. | ||
| Ven | mmh... | ||
| masak | and (most of the time) when I run the whole file under `perl6`. but not always. | ||
| Ven | ...werid | 15:25 | |
| masak | the test always fails (for unknown reasons) when I run the file (or all files) under `prove` | ||
| Ven | I'm not gonna propose to run a debugger :P | ||
| masak | :) | ||
| pushed. | 15:40 | ||
| 'night | |||
| Ven | g'night! | 15:48 | |
|
20:23
FROGGS joined
20:50
FROGGS joined
21:08
vendethiel joined
23:12
FROGGS joined
|
|||