DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T l

⟦c19db5d99⟧ TextFile

    Length: 959 (0x3bf)
    Types: TextFile
    Names: »local-bnf.bnf«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/doc/manual/volume3/local-bnf.bnf« 

TextFile

-- Mail filter grammer

<statementlist> ::= <statement>
		| <statament> <statementlist>

<statement> ::= <expression> ";"
		| ";"
		| "print" <prexp> ";"
		| "if" <condition> <statement>
		| "if" <condition> <statement> "else" <statement>
		| "{" <statementlist> "}"

<condition> ::= "(" <expression> ")"

<expression> ::=  "(" <expression> ")"
		| <expression> "==" <regex>
		| <expression> "!=" <regex>
		| <variable> "=" <expression>
		| <expression> "==" <expression>
		| <expression> "!=" <expression>
		| <expression> "||" <expression>
		| <expression> "&&" <expression>
		| "!" <expression>
		| [ "ignore" ] "file" <string>
		| [ "ignore" ] "pipe" <string>
		| "exit" [ "(" <expression> ")" ]
		| <field>
		| <variable>
		| <string>

<prexp> ::= <expression>
		| <prexp> "," <expression>

<string> ::= quoted string of characters

<variable> ::= list of characters

<field> ::= "$(" list of characters and - ")"

<regex> ::= "/" regular expression "/"