Short consulting gig (programming with BISON/Flex)
Eli Marmor
eli at netmask.it
Mon Aug 28 16:29:00 IDT 2017
The concepts remained the same (see the Dragon book of Aho&Ullman; a great
book, BTW).
As long as the new libraries and parsers implement the same algorithms,
everything is OK.
>From what I see, the only fundamental thing that changed since those
ancient days, is the higher need to support streaming data.
Most of the parsers in the past, assumed that the entire file is available;
Today, in most of the cases, you must start parsing when only the beginning
of the data is available, and continue in chunks.
It may look funny but until recently you could not find HTML to DOM parser
that could start its work before all of the file was available.
Well, too much speaking off topic, sorry for that... ;-)
On Mon, Aug 28, 2017 at 3:12 PM, Dov Grobgeld <dov.grobgeld at gmail.com>
wrote:
> Another issue is that if you today need to write a parser in lex/yacc,
> then you probably made a bad decision along the way. There are today lots
> of well supported meta formats with excellent and well tested parsers, e.g.
> json, xml, yaml, config/ini, and your ROI is better spent integrating one
> of these than reinventing the wheel.
>
> (That said from someone who invented a meta format (and used lex/yacc)
> which I used for a number of years until I switched to using json. See:
> http://xnm.sourceforge.net/ .)
>
> Regards,
> Dov
>
> On Mon, Aug 28, 2017 at 1:16 PM, Eli Marmor <eli at netmask.it> wrote:
>
>> I see that the thread is still alive, so just wanted to say that it's a
>> de-ja-vu for me.
>> I've used to be a LEX/YACC master somewhere in the previous century (i.e.
>> the previous millennium...).
>> I not only used it for writing compilers, interpreters and parsers, but
>> also built a cool library based on LEX, as well as my own LEX version to
>> support 8 bit (it supported only 7 bits in the beginning...).
>>
>> I guess that it will not help anybody today, because many years have
>> passed, and I probably don't remember enough...
>> But it's nostalgic to remember these years...
>>
>> On Thu, Aug 10, 2017 at 10:42 PM, Aviram Jenik <aviram at jenik.com> wrote:
>>
>>> Hi,
>>>
>>> We're looking for a consultant that can help us with a short gig to
>>> figure out why
>>> a piece of BISON/Flex code (used to render code into an interpreter)
>>> compiles under Debian 7 but not under Debian 9.
>>>
>>> The error is pretty vague so I rather not paste it here as it doesn't
>>> actually helps anyone who hasn't seen the full code.
>>>
>>> Any referrals would be appreciated; we're in Ra'anana industrial area.
>>>
>>> - Aviram
>>>
>>>
>>> _______________________________________________
>>> Linux-il mailing list
>>> Linux-il at cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20170828/82a859a8/attachment.html>
More information about the Linux-il
mailing list