T
Tech Id
Hi,
I need to read a configuration file and create an Object Model in
memory.
The configuration file uses around 7-8 keywords and symbols like '(',
'[', ']' and ')' and quoted strings.
My question is:
Should I use a simple tokenizer to parse the above file or use some
kind of parser?
If parser is recommended, which one should be best?
ANTLR?
Flex/Bison?
There is not much need of error recovery since the file is produced by
another tool and rarely edited by hand.
Thanks in advance for help.
I need to read a configuration file and create an Object Model in
memory.
The configuration file uses around 7-8 keywords and symbols like '(',
'[', ']' and ')' and quoted strings.
My question is:
Should I use a simple tokenizer to parse the above file or use some
kind of parser?
If parser is recommended, which one should be best?
ANTLR?
Flex/Bison?
There is not much need of error recovery since the file is produced by
another tool and rarely edited by hand.
Thanks in advance for help.