March 28, 2015
7:46 a.m.
Hi Peter, I can answer for SmaCC. It would do the job, be very simple and fairly fast with a trick or two to handle the param unquoted string. Thierry Le 28/03/2015 02:53, Peter Uhnák a écrit :
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 saw that there are many tools for parsing but since I have no experience in such matters I don't know what would be the best.
PetitParser? SmaCC? Something else?
Thanks, Peter