XP is just a number | |
PerlMonks |
Re: Re:x2 Parsing CCL (Common Command Language) commandsby e_bachmann (Novice) |
on Oct 18, 2002 at 09:50 UTC ( [id://206251]=note: print w/replies, xml ) | Need Help?? |
Thank you for alle the surgestions!
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'
I've gone for the YAPP and taken the Calp.yp example and replaced the grammer with the CCL grammer (leaving out the "Set" statement for now). Compiled it using: with one message: Then I've written a test: All this gives is a:
Edgar A. Murphy, Captain in U.S. Air Force (1949)
In Section
Seekers of Perl Wisdom
|
|