# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #64824]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64824 >


<masak> pmichaud: how was it again that one tied an actions class to a grammar?
<masak> I keep forgetting...
<baest> masak: parsefile('file', :action($object_of_action))
<masak> pmichaud: does it work with parse as well?
<masak> rakudo: grammar A { regex TOP { foo } }; class Act { method foo($/) {
        say "OH HAI" } }; A.parse("foo", :action(Act))
<masak> pmichaud: should that work?
<pmichaud> masak: I think that should work.
* masak submits rakudobug

Reply via email to