Re: Short consulting gig (programming with BISON/Flex)

2017-08-28 Thread Shlomi Fish
Hi Dov and all,

On Mon, Aug 28, 2017 at 3:12 PM, Dov Grobgeld 
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.
>
>
I agree that using meta formats is a good idea, but they are not too
suitable for Turing-complete programming languages, and some nonstandard
formats. There is still a case for using tokenisers and parser generators -
whether lex and yacc or more modern (and possibly better) ones such as the
ones I link to here -
http://www.shlomifish.org/open-source/resources/text-processing-tools/ . A
cautionary tale is that of https://en.wikipedia.org/wiki/Apache_Ant which
eventually became a Turing-complete XML based language whereas using
something like Ruby would have been better.

Regarding JSON parsers, see http://seriot.ch/parsing_json.php .

Regards,

-- Shlomi


> (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  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  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@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>


-- 
Shlomi Fish http://www.shlomifish.org/

You can never truly appreciate The Gilmore Girls until you've watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-28 Thread Eli Marmor
The concepts remained the same (see the Dragon book of Aho 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 
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  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  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@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-28 Thread Dov Grobgeld
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  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  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@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-28 Thread Eli Marmor
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  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@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-27 Thread Aviram Jenik
Hi Shlomi,

I saw previous emails sent to you in private end up back on the mailing
list. You seem to be very insisting on that point, it's even included in
your signature. I reserve the right to be selective on what I share on
public forums, and your insistence that emails to you be made public
prevented me from sending you the feedback.

If you want to contact me in private, you know my email address.

- Aviram


On Sun, Aug 27, 2017 at 1:39 PM, Shlomi Fish  wrote:

> Hi Aviram,
>
>
> On Sun, Aug 27, 2017 at 10:50 PM, Aviram Jenik  wrote:
>
>> Hi Shlomi,
>>
>> I'm not going to send status updates of an internal company project on a
>> public mailing list. Perhaps you should reconsider your communication
>> preferences.
>>
>>
> well, the original post was sent to this mailing list, so if you found
> someone, it is fair to post a followup attesting to it (without mentioning
> their name), That put aside, you can reply to my reply where I proposed
> myself for the job in private (sorry if my signature was misleading in that
> case), But as it stood, I sent an email that requested some feedback and
> was left waiting for many days.
>
> Sorry again if I was misleading.
>
>
>> - Aviram
>>
>>
>> On Sun, Aug 27, 2017 at 10:28 AM, Shlomi Fish  wrote:
>>
>>> Hi Aviram!
>>>
>>> Any news about this gig?
>>>
>>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-27 Thread Shlomi Fish
Hi Aviram,


On Sun, Aug 27, 2017 at 10:50 PM, Aviram Jenik  wrote:

> Hi Shlomi,
>
> I'm not going to send status updates of an internal company project on a
> public mailing list. Perhaps you should reconsider your communication
> preferences.
>
>
well, the original post was sent to this mailing list, so if you found
someone, it is fair to post a followup attesting to it (without mentioning
their name), That put aside, you can reply to my reply where I proposed
myself for the job in private (sorry if my signature was misleading in that
case), But as it stood, I sent an email that requested some feedback and
was left waiting for many days.

Sorry again if I was misleading.


> - Aviram
>
>
> On Sun, Aug 27, 2017 at 10:28 AM, Shlomi Fish  wrote:
>
>> Hi Aviram!
>>
>> Any news about this gig?
>>
>>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-27 Thread Aviram Jenik
Hi Shlomi,

I'm not going to send status updates of an internal company project on a
public mailing list. Perhaps you should reconsider your communication
preferences.

- Aviram


On Sun, Aug 27, 2017 at 10:28 AM, Shlomi Fish  wrote:

> Hi Aviram!
>
> Any news about this gig?
>
> Regards,
>
> -- Shlomi
>
>
> On Fri, Aug 11, 2017 at 11:07 AM, Shlomi Fish  wrote:
>
>> Hi Aviram,
>>
>> On Thu, Aug 10, 2017 at 10:42 PM, Aviram Jenik  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.
>>>
>>>
>> First of all see http://shlomif-tech.livejournal.com/63020.html for how
>> to make your job ad more informative,
>>
>> That put aside, I can try helping you, but since I'm not an expert in
>> bison and flex (though I know the basics of what they are used for -
>> http://www.shlomifish.org/lecture/Sys-Call-Track/Lex-Yacc/ ), I agree to
>> not charge any money if I fail in my mission, and only charge if I succeed
>> (under a pre-agreed rate or payment).
>>
>> Note that I don't have a status of Osseq Morsheh, if that is important to
>> you.
>>
>> Regards,
>>
>>-- Shlomi
>>
>>
>>> - Aviram
>>>
>>>
>>> ___
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>>
>> --
>> Shlomi Fish http://www.shlomifish.org/
>>
>> You can never truly appreciate The Gilmore Girls until you've watched it
>> in the original Klingon.
>>
>> Please reply to list if it's a mailing list post - http://shlom.in/reply
>> .
>>
>
>
>
> --
> Shlomi Fish http://www.shlomifish.org/
>
> You can never truly appreciate The Gilmore Girls until you've watched it
> in the original Klingon.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-27 Thread Shlomi Fish
Hi Aviram!

Any news about this gig?

Regards,

-- Shlomi


On Fri, Aug 11, 2017 at 11:07 AM, Shlomi Fish  wrote:

> Hi Aviram,
>
> On Thu, Aug 10, 2017 at 10:42 PM, Aviram Jenik  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.
>>
>>
> First of all see http://shlomif-tech.livejournal.com/63020.html for how
> to make your job ad more informative,
>
> That put aside, I can try helping you, but since I'm not an expert in
> bison and flex (though I know the basics of what they are used for -
> http://www.shlomifish.org/lecture/Sys-Call-Track/Lex-Yacc/ ), I agree to
> not charge any money if I fail in my mission, and only charge if I succeed
> (under a pre-agreed rate or payment).
>
> Note that I don't have a status of Osseq Morsheh, if that is important to
> you.
>
> Regards,
>
>-- Shlomi
>
>
>> - Aviram
>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
>
> --
> Shlomi Fish http://www.shlomifish.org/
>
> You can never truly appreciate The Gilmore Girls until you've watched it
> in the original Klingon.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>



-- 
Shlomi Fish http://www.shlomifish.org/

You can never truly appreciate The Gilmore Girls until you've watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-11 Thread Shlomi Fish
Hi Aviram,

On Thu, Aug 10, 2017 at 10:42 PM, Aviram Jenik  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.
>
>
First of all see http://shlomif-tech.livejournal.com/63020.html for how to
make your job ad more informative,

That put aside, I can try helping you, but since I'm not an expert in bison
and flex (though I know the basics of what they are used for -
http://www.shlomifish.org/lecture/Sys-Call-Track/Lex-Yacc/ ), I agree to
not charge any money if I fail in my mission, and only charge if I succeed
(under a pre-agreed rate or payment).

Note that I don't have a status of Osseq Morsheh, if that is important to
you.

Regards,

   -- Shlomi


> - Aviram
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>


-- 
Shlomi Fish http://www.shlomifish.org/

You can never truly appreciate The Gilmore Girls until you've watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Short consulting gig (programming with BISON/Flex)

2017-08-10 Thread Lior Kaplan
I'm in a Debian conference right now, should I ask one of the guys? Do you
want someone to come to your office or can it be done remotely?

Kaplan

On Thu, Aug 10, 2017 at 3:42 PM, Aviram Jenik  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@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Short consulting gig (programming with BISON/Flex)

2017-08-10 Thread Aviram Jenik
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@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il