On Sat, 2015-01-10, Stefan Ram wrote:
> Victor Bazarov <v.ba...@comcast.invalid> writes:
>>in the rest of the exercise description. If you've never written a
>>grammar, skip this exercise for now, it's probably not terribly important.
>
> But then, I have sometimes encountered questions in the
> newsgroup, where someone asks how to write a parser for some
> input, but fails to specify the exact rules for the input.
Hm, that happens almost weekily, in my experience.
...
> At some point in his education, a programmer must learn how
> to write a grammar and a parser, but it does not have to be
> at during the first year.
I think it should come early. For me, the idea that you can look at
(textual) data as an instance of a language, that was a very powerful
insight which I still rely on heavily, 25 years later.
Disclaimer: I do a lot of Unix work. Perhaps it's less useful in a
less text-oriented environmant.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/
snipabacken.se> O o .