Re: CPANtesters failure for 5.10.0

2014-10-16 Thread Christopher Layne
We use 5.10.1 here, but not 5.10.0. IMO some of the package minimums specified are slightly too high. I know I did mention in the past that if Data::Dumper were literally reduced by one point I wouldn't have to hack up the build every time I make an RPM out of the source. I think that if the

Re: Parsing domain names, and cookies

2014-10-03 Thread Christopher Layne
I probably wouldn't use a grammar/parser for something that is literally just dot-separated atoms. -cl On Oct 3, 2014, at 1430 PT, Ron Savage r...@savage.net.au wrote: Here's a potential project: https://publicsuffix.org/ -- You received this message because you are subscribed to

Re: Using Marpa::R2::NAIF to clean up Context-Free Grammars

2014-09-26 Thread Christopher Layne
Couldn't you just not use unproductive_ok and inaccessible_ok? On Sep 26, 2014, at 0930 PT, Ruslan Shvedov ruslan.shve...@gmail.com wrote: Unproductive and unaccessible rules can be removed from a grammar easily using code like this: # cleanup the grammar using Marpa NAIF my $grammar =

Re: A grammar for quoted strings with escaped chars

2014-09-22 Thread Christopher Layne
I've posted some things previously on this topic - but in short, you don't really need to use events to do this. It's possible to do it in a semi-straightforward fashion without a lot of jumping through hoops (just a bunch of rules). Here's some grammar fragments demonstrating what I'm talking

Re: Subtleties of read() vs value() error handling

2014-08-15 Thread Christopher Layne
undef from value() could be a semantic user choice, not a invalid parse tree isn't it? Le vendredi 15 août 2014 02:31:46 UTC+2, Ron Savage a écrit : On Friday, 15 August 2014 10:05:58 UTC+10, Christopher Layne wrote: On Aug 14, 2014, at 1650 PT, Ron Savage r...@savage.net.au wrote

Re: Subtleties of read() vs value() error handling

2014-08-14 Thread Christopher Layne
On Aug 14, 2014, at 1523 PT, Ron Savage r...@savage.net.au wrote: Questions: Are these for C or Perl or both? 1.) What should be its name? [Probably not doit() ]. I'd like it to be called process(). process() as an additional method also sounds find to me, although it's a bit

Re: Subtleties of read() vs value() error handling

2014-08-14 Thread Christopher Layne
On Aug 14, 2014, at 1650 PT, Ron Savage r...@savage.net.au wrote: On Friday, 15 August 2014 09:15:46 UTC+10, Christopher Layne wrote: On Aug 14, 2014, at 1523 PT, Ron Savage r...@savage.net.au wrote: Questions: Are these for C or Perl or both? 1.) What should be its name

Re: Kollos and LuaJIT

2014-07-29 Thread Christopher Layne
On Jul 29, 2014, at 1013 PT, Jeffrey Kegler jeffreykeg...@jeffreykegler.com wrote: At a certain point in their investigation into Lua, a Wikipedian said that it was a done deal, barring last-minute revelations that Lua has some sort of a sordid past. The Kollos investigation of Lua is

Re: I may be teaching my colleagues Marpa

2014-06-19 Thread Christopher Layne
beyond where I'd gone and showed me that I could and should improve on Marpa's original interface (the NAIF). -- jeffrey On 06/19/2014 11:42 AM, Christopher Layne wrote: If you ignore the null rule it'll blow your mind less if you think about it as: A ::= B | 'hello!' A ::= There's

Re: I may be teaching my colleagues Marpa

2014-06-19 Thread Christopher Layne
If your audience is smart you can also use an alternative way of demonstrating the value of grammars and parsing by taking a very simple parsing example (one that requires state management if implemented literally) and showing a slide before anything else that has a literal non-grammar based

Re: resolving ambiguity (date literal YYYY-MM-DD and numeric subtraction N1-N2)

2014-05-20 Thread Christopher Layne
Nope because I want the whitespace. In non quoted cases I don't. On May 20, 2014, at 15:32, Ron Savage r...@savage.net.au wrote: Was this meant to be attached to your previous article? More below. I'm confused by these 2 lines: word_qd ~ [^] | whitespace | escape []