On Fri, Jul 3, 2009 at 11:49 AM, Catalin Tilimpea<ctilimpea / gmail.com> wrot=
e:
> Im interested in parsing a text file that has a very specific, yet
> somewhat complicated (for me) format. Sample attached. Looks something
> like this:
>
> BeanCounterDB =3D {
> =A0["settings"] =3D {
> =A0 =A0["profile.Default"] =3D {
> =A0 =A0 =A0["columnsortcurSort"] =3D 12,
> =A0 =A0 =A0["util.beancounter.mailrecolor"] =3D "both",
> =A0 =A0 =A0["columnsortcurDir"] =3D -1,
> =A0 =A0 =A0["configator.left"] =3D 282.666712026266,
> =A0 =A0 =A0["configator.top"] =3D 651.6666718914553,
> =A0 =A0},

I wrote this little Treetop based parser for a very small subset of
Lua some time ago. It might help:

http://gist.github.com/140038