Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2015-11-23

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

All times shown according to UTC.

Time Nick Message
01:47 Idiosyncrat joined #marpa
01:57 Idiosyncrat What I have been calling "the new theory paper" ...
01:58 Idiosyncrat I am going to start calling "The Marpa book"
01:58 Idiosyncrat At 167 pages, it's now a book/
02:00 ronsavage JK: Sub-titled 'The Definitive Parsing Engine'!
02:01 ronsavage Yesterday, I released 3 updated modules, all as part of 'clearing the decks'. I'm still working on my flower/garden db/Mojolicious code, but when that's finished I'll be ready to start
02:01 ronsavage something big, perhaps a parser for Perl's regexps.
02:17 Idiosyncrat ronsavage: or perhaps one for the Perl 6 regexps?
02:49 ilbot3 joined #marpa
02:49 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
03:05 ronsavage Nah. Perl 6 doesn't really interest me, since I don't expect I'll ever use it. Unless of course it would form a good introduction to Perl 5's regexps.
03:11 Idiosyncrat I've looked at doing Perl 5 regexp's -- it something
03:12 Idiosyncrat I will almost certainly never get around to
03:12 Idiosyncrat A lot of the "features" of Perl 5 regexps involve backtracking and lookahead and IMHO are symptoms rather than features.
03:13 Idiosyncrat So if I were doing it, I wouldn't even try to capture the whole syntax -- just what I considered the non-symptomatic part.
03:14 Idiosyncrat And Marpa would bring added value to the subset -- for example, you wouldn't miss the ability to control backtracking ...
03:14 Idiosyncrat because Marpa does not need to backtrack.
03:15 Idiosyncrat Anyway, Perl 6 regexps are Larry's idea of how to do regexps right, and they make sense even in the Perl 5 context.
03:16 Idiosyncrat Attempts have been made to backport Perl 6 regexps to Perl 5, but the take-up has been modest because they're hard ...
03:16 Idiosyncrat especially if you are trying to do with an under-powered parser.
03:17 Idiosyncrat Note that, however when it comes to "symptoms-posing-as-feature", Perl 6 regexp's have even more of them than Perl 5 regexps.
05:41 ronsavage joined #marpa
05:41 ronsavage OK. Thanx for the detail. My plan was parsing regexps, but not interpreting them, so I'm hoping to completely avoid backtracking and lookahead apart from storing the text the user writes when they want to do such things.
05:45 ronsavage Also, as nominal [1] maintainer of Regexp::Assemble, I'm sure a data structure - almost certainly a tree - would allow progressive addition of tokens to the regexp, which is what users of that module have told me they use it for. Think /(a|b)/ and then $obj->add('c') meaning /(a|b|c)/. That sort of thing.
05:45 ronsavage [1] Nominal meaning I can't fix bugs in it because I can't understand the code. I just apply bandaids in order to release it for others. It'd be a intriguing and useful project, and not /too/ hard.
07:39 ronsavage joined #marpa
17:50 black_ant joined #marpa
18:36 black_ant joined #marpa
20:37 Idiosyncrat joined #marpa
20:40 Idiosyncrat joined #marpa

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