--- parser3/www/htdocs/Attic/index.html 2002/09/17 09:30:07 1.141 +++ parser3/www/htdocs/Attic/index.html 2002/10/16 08:24:56 1.168 @@ -1,5 +1,6 @@ @USE /derived.p +/operators.p @auto[filespec] $selffilespec[$filespec] @@ -22,7 +23,7 @@ $response:charset[windows-1251] #^f[a] #^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ -## $.default{2} +# $.default{2} # ]
# ^hash::sql{bad} # ^string:sql{select news_id from news where news_id=-1}[$.default{2}] @@ -101,7 +102,6 @@ $response:charset[windows-1251] #^if($form:test){y}{n} #^tablecolumnerror[] #^roll[] -#^cookie2[] #^tableset[] #^math:PI.format{%.30f} #^xchildren[] @@ -155,7 +155,6 @@ $response:charset[windows-1251] #^fori[] #^tconnect[] #^xslt[] -#^xml[] #^header[] #^tablehasht[] #^datecreatestring[] @@ -205,7 +204,6 @@ $response:charset[windows-1251] #^badpos[] #^processtest[] #^mail3[] -#^mail4[] #^datesaving[] #^badconstructor[] #^calendar[] @@ -219,7 +217,6 @@ $response:charset[windows-1251] #^cookieexpirestest[] #^postest[] #^voidpostest[] -#^virtualtest[] #^badcolumntest[] #^delimiters[] #^новый-split[] @@ -236,20 +233,235 @@ $response:charset[windows-1251] #^mail2[] #^exec[] #^passpost[] -#^menudelim[] #^fordelim[] #^duplicatetable2hashkey[] -^duplicatehashsqlkey[] +#^duplicatehashsqlkey[] +#^longlreplace[] +#^table2hash_onecolumn[] +#^crossopvars[] +#^three[] +#^badLangAfterCatch[] +#^zeroinstdin[] +#^shifts[] +#^jspace[] +#^hashselfmodification[] +#^emptyTransformResult[] +#^badxdoccreate[] +#^if(-d "CVS"){y}{n} +#^badjunctioncall[] +#^russianindex[] +#^virtualtest[] +#^xml[] +#^mail4[] +#^voidconstructorpass[] +#^$form:CLASS.a=$form:CLASS.a
+#^cookie2[] +#^menudelim[] +#^touchittest[] +#^touchittest2[] +#^opauto[] +#^trycontextt[] +#^tfor[] +#^user-foreach-test[] +#^includet[] +#^derived:includet[] +#^fortestsep[] +#^derived:inclass_process_test[] +#$derived[^derived::create[]]^derived.inclass_process_test[] +#^domorigint[] +#^junctiontest2[] +^junctionselftest[] + +@junctionselftest[] +$derived[^derived::create[]]^derived.explodejunction{$tomain[tomainOK]} +^$tomain=$tomain + +@junctiontest2[] +^if($if is junction){is junction;not junction}
+^if(def $if){defined;not defined}
+ +@domorigint[] +$xdoc[^xdoc::create[вася]] +^xdoc.firstChild.setAttribute[name;значение] +$var[$xdoc.firstChild.nodeName] +^throw[paf;$var] + + +@fortestsep[][i] +^for[i](1;3){$i}[,] + +@includet[] +^include[some.p] +^included_method[2] + +@user-foreach-test[][key;value] +^user-foreach[key;value]{$key=$value
} + +@user-foreach[key;value;code] +^for[i](1;10){ + $caller.$key($i) + $caller.$value($i*2) + $code +} + + +@tfor[][i] +^for[i](1;10){ +$i +} + +@trycontextt[] +^try{ + ^trycontexttsub[] +}{ + $exception.handled(0) +} + + +@trycontexttsub[] +^bad[] + + +@opauto[] +^reada[] + + +@rusage2[]
OK +@rusage2[] +$s[$status:rusage] + +^s.tv_sec.format[%.0f].^s.tv_usec.format[%06.0f] + + +@voidconstructorpass[] +$a[$form:a] +=^form:a.int(1)= +=^a.int(1)= + + +@russianindex[] +#dir with files with russian-lang names +$where[dir] + +$dir[^file:list[$where;\.txt^$]] +^dir.menu{ + $dir.name
+} + +@badjunctioncall[] +^badjunctioncallinside{code} + +@badjunctioncallinside[code] +xx^code[] + +@badxdoccreate[] +$xdoc[^xdoc::create[вася]] +#$xdoc[^xdoc::create{вася}] + +^xdoc.firstChild.setAttribute[name;значение] +^xdoc.string[] + + +@emptyTransformResult[] +$input[^xdoc::create[docBad]] +$sheet[^xdoc::create{ + + + output + + +}] +$output[^input.transform[$sheet]] +$response:body[^output.file[]] + +@hashselfmodification[] +$hash[ + $.a[1] + $.b[2] +] +^hash.foreach[key;value]{ +# $hash.c[1] + $hash.a[1] +} + +@touchittest[][i] +$i[before] +^touchit[] +$i + +@touchittest2[] +$i[before] +^touchit[] +$i + + +@jspace[] +$a(1) +^jspace_call{^eval($a*2)} +#$a(2) +#$junction + +@jspace_call[param][a] +$a[unrelcfgdfgated] +$junction
+$junction.a(2) +$junction
+ +@shifts[] +^eval(1<<3)
+^eval(8>>2)
+#^if(1=1){y;n}
+ + +@zeroinstdin[] +#$f[^file::exec[a.pl;$.stdin[$.shit[]]]] +$f[^file::exec[a.pl;$.stdin[^file::load[binary;1z2.txt]]]] +=$f.text= +^f.save[binary;1z2.out] + +@badLangAfterCatch[] +^try{ + $a[ + тут язык сменился на pass_appended + ^throw[user;test] + и улетело с не тем языком + ] +}{ + $exception.handled(1) +} +1 2 + +@crossopvars[] +#^one[]
+^two[]
+ +@table2hash_onecolumn[] +$t[^table::create{a +1 +1 +}] +#^t.hash[a] +#^t.hash[a;b] +$h[^t.hash[a][$.distinct(1)]] +$h.1.a + +@longlreplace[] +$str1[ мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла мыла ] +$str2[ела] +$str[Мама $str1 раму] + +^str.replace[^table::create[nameless]{мыла $str2}] + @duplicatehashsqlkey[] ^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ $t[^table::sql{select * from news}] $c[^t.columns[]] ^c.menu{$c.column}[,] - $h[^hash::sql{select news_type_id, name from news}] + $h[^hash::sql{select news_type_id, name from news}[$.distinct(1)]] } @duplicatetable2hashkey[] @@ -257,7 +469,9 @@ $t[^table::create{a b 1 2 1 3 }] -^t.hash[a;b] +#^t.hash[a] +#^t.hash[a;b] +^t.hash[a][$.distinct[1]] @menudelim[] $t[^table::create{a @@ -454,7 +668,7 @@ $date.yearday ^mail:send[ $.from[paf@mail.design.ru] $.to[paf@mail.design.ru] - $.subject[^taint[uri][москва]=2] + $.subject[^taint[uri][москва=E0_+ ]=2] $.text[^taint[uri][москва]=] $.html{link} ] @@ -569,7 +783,9 @@ $sheet[^xdoc::create{ - z + + +z para1=
@@ -1595,7 +1811,7 @@ $date.year $date.month $date.day @cookie2[] #=$cookie:clientType[$.value[test]]=
-=$cookie:clientType=
+=$cookie:CLASS.clientType=
@tableset[] @@ -2063,7 +2279,7 @@ $xdoc[^xdoc::set{ +$xdoc[^xdoc::create{ @@ -2073,7 +2289,7 @@ $xdoc[^xdoc::set{^process{ПИФ^taint[&] -}}] +}] @xml[] ^xdata[]