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

From: Olaf Titz (olaf@bigred.inka.de)
Date: Wed Apr 12 2000 - 05:40:42 EST


> 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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST