[antlr-interest] Fig: a generic config file reader

Vaclav Barta vbar at comp.cz
Sat Jun 30 08:00:12 PDT 2007


On Saturday 30 June 2007 16:00, robermann wrote:
> Hi, I've just added a comment in
> http://www.antlr.org/wiki/display/ANTLR3/Fig+-+Generic+configuration+langua
>ge+interpreter .
...
> What do you think?
Well, what's wrong with JSON (that YAML doesn't solve :-) )?

> > Intro:
> > Many applications need configuration files. In the old days people
> > built their own syntax and parser. Then people tried to use simple
> > property files with Java. Now people use XML for everything, but XML
> > is a horrible Human interface (see "Humans should not have to grok
> > XML"); XML is fine for data if you don't mind the verboseness. This
> > article describes Fig, a little config file reader that I made for my
> > talk at the Sydney Java users group June 20, 2007. The basic goal is
I think the grammar is fine for pedagogical purposes, but for practical usage, 
we have better alternatives to XML and there's no need to reinvent the wheel.

	Bye
		Vasek


More information about the antlr-interest mailing list