[dev] lex and yacc

From: <sylvain.bertrand_AT_gmail.com>
Date: Sat, 9 Mar 2019 18:59:38 +0000

Hi,

I am coding a little/simple custom language parser, and I was wondering if there
are "suckless" grade alternatives to flex and bison, anyone? But wait...

That said and as of today, I still don't agree with myself on the usefullness
of lex/yacc in the first place. For instance, I am puzzled by line/column
tracking, which can be tricky (for instance C preprocessor/compiler accurate
line/column tracking with line-return escaping with lex/yacc??)

Maybe it's not an implementation issue of lex and yacc... they may actually
be _not_ suckless at all. Any thoughts on this?

-- 
Sylvain
Received on Sat Mar 09 2019 - 19:59:38 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 09 2019 - 20:12:08 CET