3 ms·
one may stuck me to use yacc is that can yacc make a func like : query_t parse(const char* str) and do the parse part thread-safe?
by liuliu 17y ago
one may stuck me to use yacc is that can yacc make a func like : query_t parse(const char* str) and do the parse part thread-safe?
- bayareaguy 17y agoRecent YACC's such as Bison support pure reentrant parsers. Here's a reference: http://dinosaur.compilertools.net/bison/bison_6.html#SEC56 http://dinosaur.compilertools.net/bison/bison_6.html#SEC56
- flashgordon 17y agomake sure you check the licences... different licences apply to yacc and bison generated parsers...