monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit CHANGES.txt gc.c l.l monitor.h p.y util.c...


From: Jan-Henrik Haukeland
Subject: Re: monit CHANGES.txt gc.c l.l monitor.h p.y util.c...
Date: Mon, 20 Dec 2004 11:20:19 +0100


On Dec 20, 2004, at 10:25 AM, Michael Shigorin wrote:

BTW, is it reasonable to put at the back of the head something
like "make separate parser which is called when monit starts or
reloads and doesn't sit in memory with all the libraries involved
full time"?

I think you mix-up what parsing and a parser-generator is with something else. The parser-generator (YACC) and scanner (LEX) generate a state-machine in plain C code which is compiled and linked into the monit executable as any other C code. Don't confuse C with a high-level language like Ruby :-)

--
Jan-Henrik Haukeland
mobile +47 97141255





reply via email to

[Prev in Thread] Current Thread [Next in Thread]