Peter Uhn��k <i.uhnak@gmail.com> writes:
> Hi,
>
> I would like to parse text like
> -----
> id(param1, param2, ... paramX)
> id -> id
> id ->> id
> -----
> id is alphanumeric string,
> param is any string optionally enclosed in quotes (so both quoted and
> unquoted string is needed)
I would start with streams and regular expressions. If that's not
powerful enough I would use PetitParser. If that's not fast enough, I
would try SmaCC and compare speed.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill