Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2016-11-03

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:31 ronsavage joined #marpa
02:39 idiosyncrat_ joined #marpa
02:48 ilbot3 joined #marpa
02:48 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Pastebin: http://scsys.co.uk:8002/marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today
05:31 panikal joined #marpa
05:36 idiosyncrat_ I have just uploaded Marpa-R3-4.001_023.tar.gz
05:36 idiosyncrat_ CPANtesters looks good.
05:38 idiosyncrat_ In this, the valuator has been converted away from XS completely -- the XS object itself was removed.
05:39 idiosyncrat_ Also, that fix ronsavage gave me for the 5.10.0 issue is included -- this is its first test.
06:00 panikal @idiosyncrat_ I was still having difficulty slurping a file in for use as BNF...but I think I've narrowed it down to the way that escape codes are being affected.
06:00 panikal I have an L0 rule that says:     newline ~ [\\n]+
06:01 idiosyncrat_ panikal: you may want to study up on how Perl does Unicode.
06:01 panikal notice the double slash? that's required for a heredoc....if i read in a file, i must change that to a single slash.
06:02 panikal hah yes this project is dealing with an incredible amount of unicode
06:02 idiosyncrat_ Hmmm.
06:04 idiosyncrat_ The problem is in recognizing newlines?
06:07 panikal no. here is another example (sorry its a bit ugly but so is this project) :)
06:07 panikal alphanum        ~ [A-Za-z\\d\x{00b0}-\x{90000}\,. \\-\(\)'":!;&?]+
06:08 panikal the double escapes are required. I've found they are required in HEREDOCs for \d, \n, \- \[ \] - but not for \{ \} \/
06:08 panikal the double escapes are not required anywhere when reading a file in via a filehandle
06:09 panikal this may not be a marpa problem...but in the 18 years i've been coding in perl i've never come across a difference in scalars in a heredoc vs a file slurp. :)
06:10 idiosyncrat_ Perl does different Unicode encoding/decoding for files vs. heredocs, based on your Unicode settings.
06:11 idiosyncrat_ It's complicated, and frankly myself I avoid heredocs with non-ASCII-7 characters, because I don't want to hassle with it.
06:13 idiosyncrat_ So my thought is that in your 18 years, you might have been lucky, and your luck might have run out. :-)
06:14 panikal to be fair i don't like heredocs in general typically just use them for quick help messages...and that lack of use means...drumroll.....i forgot to quote the << 'HERE_DOC' i was doing << HERE_DOC
06:14 idiosyncrat_ Aha!
06:15 panikal <facepalm>
06:15 panikal yeah
06:15 idiosyncrat_ Well, glad there's a happy ending.
06:15 idiosyncrat_ It's now 11:15 PM California time.
06:15 idiosyncrat_ Good night!
06:16 panikal :) its 7:15AM brussels time. Off to work soon. Cheers, thanks for the help!!!
06:43 panikal joined #marpa
09:56 maybekoo2 joined #marpa
11:21 sirdancealot joined #marpa
12:41 malthe left #marpa
17:01 maybekoo2 joined #marpa
17:57 guywrysmile joined #marpa
19:51 sirdancealot joined #marpa
20:36 choroba joined #marpa
21:46 ronsavage joined #marpa
21:51 ronsavage JK: All tests pass here under Debian.
23:02 ronsavage joined #marpa
23:46 idiosyncrat_ joined #marpa
23:46 idiosyncrat_ ronsavage: Thanks!

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary