I have a non-standard configuration file, for which I want to write a python parser.
What is the best approach to writing a parser from scratch?
Example of a configuration file:
// Comment
conf OPTION_NAME {
(
( option1:"string"
option2:"14"
)
)
}
// Comment2
conf OPTION_NAME2 {
(
( option1:"string2"
option2:"15"
)
)
}