Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
00:02 vendethiel joined #6macros
01:23 vendethiel joined #6macros
02:00 vendethiel joined #6macros
02:24 vendethiel joined #6macros
03:10 vendethiel joined #6macros
03:42 vendethiel joined #6macros
04:37 vendethiel joined #6macros
05:27 vendethiel joined #6macros
05:51 vendethiel joined #6macros
06:33 vendethiel joined #6macros
07:22 vendethiel joined #6macros
08:36 vendethiel joined #6macros
09:06 vendethiel joined #6macros
13:29 vendethiel joined #6macros
13:58 vendethiel joined #6macros
15:33 vendethiel joined #6macros
15:59 vendethiel joined #6macros
16:34 vendethiel joined #6macros
17:18 vendethiel joined #6macros
17:45 vendethiel joined #6macros
18:34 Ven joined #6macros
18:59 Ven I want to be able to do that at compile-time in perl6:
18:59 Ven http://blog.mattbierner.com/stupid-template-tricks-super-template-tetris/
18:59 Ven :D
19:00 masak euhm.
19:00 masak not a priority, but noted :)
19:04 Ven oh, don't read that
19:04 Ven it's just gonna hurt your eyes and your head...
19:04 Ven but basically, what this does is....
19:05 Ven you declare the "move" via -DUP (or so) + #ifdef UP in the code
19:05 Ven then it writes the... state in a file.
19:05 Ven yes. it generates C++ code, then it writes it to a file
19:05 Ven and  then #include it
19:05 Ven so that the only "runtime" thing is printing the "board"
19:06 Ven (+ printing the new state)
19:06 Ven there's like... 10 lines of runtime

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