Re: P::RD for tab-completion

2010-03-31 Thread Damian Conway
Hi Ted, If I were building a completion checker, I'd probably do something like the following. Hope this helps, Damian -cut--cut--cut--cut--cut- use Parse::RecDescent; my @trial_inputs = ( '', 'm', 'mv', 'mv ', '

Re: P::RD for tab-completion

2010-03-31 Thread Ted Zlatanov
Thanks for the help. I used it for a tab-completing CLI I developed to talk to the Cassandra database; see Net::Cassandra::Easy 0.07 or later on CPAN (cassidy.pl is the CLI). I'm not happy with the verbosity of the resulting grammar but it works well. Maybe P::RD could have better built-in compl