Re: Have we out-grown Flex?

From: james <james(at)mansionfamily(dot)plus(dot)com>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Have we out-grown Flex?
Date: 2012-05-03 19:51:30
Message-ID: 4FA2E1C2.9030200@mansionfamily.plus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I haven't tried quex, but I have tried lemon (which can be broken out of
SQLite) and re2c and ragel.

I like ragel and lemon, but the combination supports a push-parser style
from memory, and many tools are inconvenient unless you are prepared to
suck in a whole message before parsing, or let the parser drive a pull
loop, or use a coroutine structure.

Could go all trendy and use a PEG tool like, er,, peg
(http://piumarta.com/software/peg/). (I haven't tried them tho')

James

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-05-03 19:52:24 Re: Advisory locks seem rather broken
Previous Message Bruce Momjian 2012-05-03 19:47:48 Re: Uppercase tab completion keywords in psql?