Logiweb(TM)

Logiweb aspects of metasubst ( " , " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of metasubst ( asterisk , asterisk , asterisk ) as "metasubst ( "! , "! , "! )" end define

The "value" aspect

define value of metasubst ( x , s , c ) as norm { x is val : { s is val : { c is val : LET x metadef ( c ) BE { asterisk IN LET asterisk BE { d IN if d = "var" then lookup ( x , s , x ) else if d != "all" then x head :: metasubst* ( x tail , s , c ) else LET remove ( x first , s ) BE { asterisk IN LET asterisk BE { s IN { x head :: { x first :: { metasubst ( x second , s , c ) :: <<>> } } } } } } } } } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:11:58.175987 = MJD-54293.TAI:20:12:31.175987 = LGT-4690987951175987e-6