Re: Suggested dual human/binary interface for proc/devfs

Olaf Titz (olaf@bigred.inka.de)
Wed, 12 Apr 2000 12:40:42 +0200


> On subject of parsing, and genrating the text file:-
> 1. parsing and generating is easy, if syntax is regular-expression rather
> than CFG.

Exactly. And make it as simple RE as possible.

Olaf

(PS. to the one who asked: CFG=context-free grammar - the difference
is that CFG allows for arbitrarily nested grouping while RE does not,
and it follows that RE is much easier to parse with common tools like sed.)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/