nanog mailing list archives

Re: JunOS config yacc grammar?


From: Saku Ytti <saku () ytti fi>
Date: Tue, 22 Aug 2023 09:40:25 +0300

On Tue, 22 Aug 2023 at 03:30, Lyndon Nerenberg (VE7TFX/VE6BBM)
<lyndon () orthanc ca> wrote:

Because I've been writing yacc grammars for decades.  I just wanted to
see if someone had already done it, as that would save me some time.
But if there's nothing out there I'll just roll one myself.

I sympathise with your problem and I've always wanted vendors to
publish their parsers, there are many use cases.

But as such does not exist, this avenue of attack seems very
problematic, unless this whole network lives and dies with you. If
not, then your feature velocity now depends on someone adding support
for new keywords to the parser generator, no one who comes after you
will thank you for adding this dependency to the process. But they
might call you and pay stupid money for a 5 min job, so maybe it is a
great idea.

-- 
  ++ytti


Current thread: