On 2010-05-21, at 12:26 pm, Aaron Sherman wrote:
> That's going to be a common first hurdle, I can see.
> I ran into the same thing writing a IRI parser. Here's a way you can do this: 
> [using a Grammar]

Thanks -- I thought of trying that to see what happens.  (Not that I absolutely 
need it, but would be good practice.)

A list of what works in Rakudo and what doesn't would be nice, but there's so 
much progress I don't know how it could be practical (which is a good problem 
to have!).


On 2010-05-21, at 12:31 pm, Moritz Lenz wrote:
> So the default scope is the same as method (which is in a method table,
> not in a package), which is pretty useless outside a grammar. [...]
> But Rakudo currently doesn't support lookup from lexical scope.

Aha -- which also explains why "my regex foo" didn't work for me.
Of course, the matching is pretty simple in this case, but it might look a bit 
more elegant broken up with a Grammar.


> Thanks for giving it a shot!

Well, I really appreciate setting out specific tasks this way.  It's a great 
idea, because although contributing to a project like this doesn't have to be 
hard, it can nevertheless require a lot of context even to work on something 
simple.  It's probably almost as much effort for you to spell it all out than 
to just do it yourself, but it's the kind of hand-holding that somebody like me 
needs to get started.


-David

Reply via email to