In past columns we’ve had the pleasure of looking at configuration file processing of all sorts. We’ve discussed ways to work with simple file formats like .ini files and more complex formats like XML, YAML, and JSON. But what if you find you need something even more sophisticated? What if you find you need a config that is actually a mini-language (some would call it a DSL, or domain specific language)? In cases like that you’ll have to write code that can parse this language so your program can work
with the directives you’ve specified. This column is about one of the more popular and more powerful modules for this work.
Download Article:
Article Section:
COLUMNS
;login: issue:
- Log in to post comments