├── tests
├── 061.dat
├── 216_dir
│ ├── 1
│ └── 2.txt
├── 270_dir
│ ├── z
│ ├── 270.txt
│ └── subdir
│ │ └── 270.txt
├── 370.dat
├── 022_dir
│ ├── a.html
│ ├── b.txt
│ ├── b[b].txt
│ └── c.htm
├── 415_dir
│ ├── 24.p
│ ├── 25.p
│ ├── 26.p
│ ├── 27.p
│ ├── 20.p
│ ├── 23.p
│ ├── 28.p
│ ├── 30.p
│ ├── 31.p
│ ├── 09.p
│ ├── 21.p
│ ├── 22.p
│ ├── 29.p
│ ├── 06.p
│ ├── 01.p
│ ├── 03.p
│ ├── 13.p
│ ├── 10.p
│ ├── 15.p
│ ├── 05.p
│ ├── 14.p
│ ├── 04.p
│ ├── 07.p
│ ├── 11.p
│ ├── 12.p
│ └── 08.p
├── 161_utf8.txt
├── 195_utf8.txt
├── 223_utf8.txt
├── 230_utf8.txt
├── 247_utf8.txt
├── 256.txt
├── outputs
│ ├── create-dir
│ └── d.cmd
├── 247_utf8_bom.txt
├── 060.html
├── 001.html
├── 004.html
├── httpd
│ ├── 002.txt
│ ├── site
│ │ ├── test.txt
│ │ ├── run_server.sh
│ │ ├── index.html
│ │ ├── 029.html
│ │ ├── form.html
│ │ └── 404.html
│ ├── 008.txt
│ ├── 011.txt
│ ├── 010.txt
│ ├── 023.txt
│ ├── 024.txt
│ ├── 029.txt
│ ├── 038.txt
│ ├── 009.txt
│ ├── 013.txt
│ ├── 014.txt
│ ├── 028.txt
│ ├── 007.txt
│ ├── 012.txt
│ ├── 005.txt
│ ├── 015.txt
│ ├── 016.txt
│ ├── 017.txt
│ ├── 018.txt
│ ├── 001.txt
│ ├── 003.txt
│ ├── 019.txt
│ ├── 036.txt
│ ├── 021.txt
│ ├── 022.txt
│ ├── 040.txt
│ ├── 020.txt
│ ├── 004.txt
│ ├── 025.txt
│ ├── 033.txt
│ ├── 037.txt
│ ├── ok.log
│ ├── 027.txt
│ ├── 026.txt
│ ├── 032.txt
│ ├── 030.txt
│ ├── 034.txt
│ ├── 035.txt
│ └── 031.curl
├── 077.html
├── 017.html
├── 082.html
├── 166.html
├── 034.html
├── 069.html
├── 087.html
├── 182_dir
│ ├── a6.p
│ ├── a5.p
│ ├── a4.p
│ ├── a2.p
│ ├── a3.p
│ └── a1.p
├── 366.p
├── 369.html
├── 048.html
├── 104.html
├── 105.html
├── 226.p
├── 419.html
├── 003.html
├── 066.html
├── 070.html
├── 080.html
├── 094.html
├── 054.html
├── 090.html
├── 050.html
├── 235_attach.txt
├── 387_dir
│ ├── A.p
│ └── B.p
├── 015.html
├── 021.html
├── 024.html
├── 032.html
├── 033.html
├── 047.html
├── 055.html
├── 059.html
├── 061.html
├── 064.html
├── 067.html
├── 068.html
├── 081.html
├── 085.html
├── 086.html
├── 098.html
├── 109.html
├── 119.html
├── 153.html
├── 158.html
├── 171.html
├── 201.html
├── 228.html
├── 231.html
├── 250.html
├── 251.html
├── 255.html
├── 292.html
├── 293.html
├── 304.html
├── 306.html
├── results
│ ├── 012.processed
│ ├── 017.processed
│ ├── 028.processed
│ ├── 050.processed
│ ├── 060.processed
│ ├── 069.processed
│ ├── 072.processed
│ ├── 084.processed
│ ├── 104.processed
│ ├── 105.processed
│ ├── 114.processed
│ ├── 166.processed
│ ├── 001.processed
│ ├── 039.processed
│ ├── 046.processed
│ ├── 049.processed
│ ├── 080.processed
│ ├── 083.processed
│ ├── 086.processed
│ ├── 089.processed
│ ├── 095.processed
│ ├── 101.processed
│ ├── 127.processed
│ ├── 199.processed
│ ├── 203.processed
│ ├── 003.processed
│ ├── 004.processed
│ ├── 016.processed
│ ├── 018.processed
│ ├── 031.processed
│ ├── 037.processed
│ ├── 082.processed
│ ├── 090.processed
│ ├── 093.processed
│ ├── 257.processed
│ ├── 290.processed
│ ├── 355.processed
│ ├── 361.processed
│ ├── 002.processed
│ ├── 009.processed
│ ├── 047.processed
│ ├── 054.processed
│ ├── 087.processed
│ ├── 088.processed
│ ├── 094.processed
│ ├── 110.processed
│ ├── 118.processed
│ ├── 184.processed
│ ├── 189.processed
│ ├── 267.processed
│ ├── 285.processed
│ ├── 382.processed
│ ├── 391.processed
│ ├── 408.processed
│ ├── 029.processed
│ ├── 045.processed
│ ├── 048.processed
│ ├── 076.processed
│ ├── 079.processed
│ ├── 081.processed
│ ├── 115.processed
│ ├── 194.processed
│ ├── 248.processed
│ ├── 299.processed
│ ├── 007.processed
│ ├── 019.processed
│ ├── 021.processed
│ ├── 024.processed
│ ├── 026.processed
│ ├── 032.processed
│ ├── 033.processed
│ ├── 034.processed
│ ├── 041.processed
│ ├── 055.processed
│ ├── 056.processed
│ ├── 061.processed
│ ├── 062.processed
│ ├── 064.processed
│ ├── 067.processed
│ ├── 068.processed
│ ├── 070.processed
│ ├── 077.processed
│ ├── 085.processed
│ ├── 096.processed
│ ├── 098.processed
│ ├── 103.processed
│ ├── 109.processed
│ ├── 119.processed
│ ├── 121.processed
│ ├── 125.processed
│ ├── 126.processed
│ ├── 128.processed
│ ├── 130.processed
│ ├── 132.processed
│ ├── 133.processed
│ ├── 135.processed
│ ├── 136.processed
│ ├── 138.processed
│ ├── 139.processed
│ ├── 153.processed
│ ├── 158.processed
│ ├── 158.processes
│ ├── 171.processed
│ ├── 193.processed
│ ├── 201.processed
│ ├── 228.processed
│ ├── 231.processed
│ ├── 233.processed
│ ├── 234.processed
│ ├── 235.processed
│ ├── 237.processed
│ ├── 247.processed
│ ├── 255.processed
│ ├── 339.processed
│ ├── 343.processed
│ ├── 369.processed
│ ├── 401.processed
│ ├── 008.processed
│ ├── 020.processed
│ ├── 448.processed
│ ├── 006.processed
│ ├── 015.processed
│ ├── 023.processed
│ ├── 092.processed
│ ├── 113.processed
│ ├── 170.processed
│ ├── 339-curl.processed
│ ├── 374.processed
│ ├── 443.processed
│ ├── 074.processed
│ ├── 236.processed
│ ├── 242.processed
│ ├── 375.processed
│ ├── 423.processed
│ ├── 066.processed
│ ├── 124.processed
│ ├── 168.processed
│ ├── 102.processed
│ ├── 044.processed
│ ├── 073.processed
│ ├── 111.processed
│ ├── 162.processed
│ ├── 300.processed
│ ├── 040.processed
│ ├── 145.processed
│ ├── 167.processed
│ ├── 211.processed
│ ├── 295.processed
│ ├── 354.processed
│ ├── 411.processed
│ ├── 036.processed
│ ├── 112.processed
│ ├── 198.processed
│ ├── 284.processed
│ ├── 331.processed
│ ├── 078.processed
│ ├── 154.processed
│ ├── 155.processed
│ ├── 197.processed
│ ├── 241.processed
│ ├── 279.processed
│ ├── 120.processed
│ ├── 190.processed
│ ├── 218.processed
│ ├── 225.processed
│ ├── 227.processed
│ ├── 438.processed
│ ├── 005.processed
│ ├── 025.processed
│ ├── 172.processed
│ ├── 220.processed
│ ├── 412.processed
│ ├── 063.processed
│ ├── 245.processed
│ ├── 304.processed
│ ├── 157.processed
│ ├── 283.processed
│ ├── 123.processed
│ ├── 249.processed
│ ├── 328.processed
│ ├── 335.processed
│ ├── 116.processed
│ ├── 226.processed
│ ├── 276.processed
│ ├── 359.processed
│ ├── 051.processed
│ ├── 179.processed
│ ├── 204.processed
│ ├── 217.processed
│ ├── 042.processed
│ ├── 059.processed
│ ├── 106.processed
│ ├── 161.processed
│ ├── 219.processed
│ ├── 278.processed
│ ├── 075.processed
│ ├── 210.processed
│ ├── 240.processed
│ ├── 243.processed
│ ├── 265.processed
│ ├── 071.processed
│ ├── 291.processed
│ ├── 298.processed
│ ├── 173.processed
│ ├── 418.processed
│ ├── 058.processed
│ ├── 206.processed
│ ├── 313.processed
│ ├── 326.processed
│ ├── 436.processed
│ ├── 353.processed
│ ├── 035.processed
│ ├── 091.processed
│ ├── 272.processed
│ ├── 387.processed
│ ├── 402.processed
│ ├── 322.processed
│ ├── 366.processed
│ ├── 371.processed
│ ├── 099.processed
│ ├── 314.processed
│ ├── 393.processed
│ ├── 319.processed
│ ├── 403.processed
│ ├── 100.processed
│ ├── 209.processed
│ ├── 251.processed
│ ├── 289.processed
│ ├── 419.processed
│ ├── 334.processed
│ ├── 347-curl.processed
│ ├── 156.processed
│ ├── 263.processed
│ ├── 426.processed
│ ├── 305.processed
│ ├── 367-curl.processed
│ ├── 410.processed
│ ├── 385.processed
│ ├── 404.processed
│ ├── 301.processed
│ ├── 358.processed
│ ├── 027.processed
│ ├── 177.processed
│ ├── 357.processed
│ ├── 053.processed
│ ├── 318.processed
│ ├── 394-curl.processed
│ ├── 288.processed
│ ├── 306.processed
│ ├── 329.processed
│ ├── 340.processed
│ ├── 333.processed
│ ├── 396.processed
│ ├── 307.processed
│ ├── 013.processed
│ ├── 309.processed
│ ├── 213.processed
│ ├── 392.processed
│ ├── 214.processed
│ ├── 281.processed
│ ├── 360.processed
│ ├── 345.processed
│ ├── 216.processed
│ ├── 316.processed
│ ├── 221.processed
│ ├── 351.processed
│ ├── 400.processed
│ ├── 122.processed
│ ├── 205.processed
│ ├── 222.processed
│ ├── 010.processed
│ ├── 274.processed
│ ├── 445.processed
│ ├── 365.processed
│ ├── 187.processed
│ ├── 310.processed
│ ├── 363.processed
│ ├── 409.processed
│ ├── 215.processed
│ ├── 332.processed
│ ├── 117.processed
│ ├── 011.processed
│ ├── 270.processed
│ ├── 447.processed
│ ├── 200.processed
│ ├── 437.processed
│ ├── 338.processed
│ ├── 038.processed
│ └── 254.processed
├── 008.html
├── 079.html
├── 098font.gif
├── 103mark.gif
├── 018.html
├── 076.html
├── 078.html
├── 253_json.txt
├── 395_dir
│ ├── 1.bmp
│ ├── 4.mp4
│ ├── 2.tiff
│ ├── 3_VP8.webp
│ ├── 3_VP8L.webp
│ └── 3_VP8X.webp
├── 019paf2001.gif
├── 045.html
├── 058_paf2000.png
├── 096_dir
│ ├── 163.jpg
│ └── 188.jpg
├── 103paf2001.gif
├── 223_win1251.txt
├── 309.html
├── 029.html
├── 361.html
├── 438.html
├── 026.html
├── 058.html
├── 121.html
├── 161_windows1251.txt
├── 195_windows1251.txt
├── 247_windows1251.txt
├── 366_dir
│ ├── test-duplicate.p
│ └── test.p
├── 403.html
├── 031.html
├── 039.html
├── 062.html
├── 092.html
├── 199.html
├── 333.html
├── 002.html
├── 005.html
├── 012.html
├── 401.html
├── 020.html
├── 023.html
├── 044.html
├── 046.html
├── 328.html
├── 340.html
├── 028.html
├── 051.html
├── 056.html
├── 083.html
├── 089.html
├── 248.html
├── 314.html
├── 095.html
├── 124.html
├── 375.html
├── 100.html
├── 189.html
├── 203.html
├── 290.html
├── 037.html
├── 072.html
├── 114.html
├── 194_dir
│ └── 194.p
├── 084.html
├── 178_dir
│ ├── 178d.p
│ ├── 178e.p
│ ├── 178b.p
│ ├── 178c.p
│ └── 178a.p
├── 181.ent
├── 187.html
├── 190.html
├── 101.html
├── 357.html
├── 099.html
├── 106.html
├── 197.html
├── 310.html
├── 358.html
├── 396.html
├── 102.html
├── 167.html
├── 331.html
├── 116.html
├── 448.html
├── 219.html
├── 237.html
├── 242.html
├── 408.html
├── 073.html
├── 103.html
├── 115.html
├── 240.html
├── 415.html
├── 016.html
├── 025.html
├── 036.html
├── 088.html
├── run_parser.sh
├── 006.html
├── 198.html
├── 226.html
├── 282.cfg
├── 051b.p
├── 113.html
├── 436.html
├── 443.html
├── 300.html
├── 154.html
├── 404.html
├── 184.html
├── 205.html
├── 241.html
├── 391.html
├── run_parser.cmd
├── 063.html
├── 091.html
├── 093.html
├── 111.html
├── 112.html
├── 123.html
├── 194.html
├── 279.html
├── 380.html
├── 392.html
├── 190.p
├── 204.html
├── 283.html
├── 127.html
├── 382.html
├── 445.html
├── 009.html
├── 019.html
├── 075.html
├── 176_dir
│ ├── c.p
│ └── d.p
├── 267.html
├── 135.html
├── 136.html
├── 168.html
├── 222.html
├── 130.html
├── 385.html
├── 138.html
├── 139.html
├── 313.html
├── 041.html
├── 387.html
├── 011.html
├── 027.html
├── 265.html
├── 074.html
├── 162.html
├── 371.html
├── 402.html
├── 179.html
├── 221.html
├── 252.html
├── 355.html
├── 374.html
├── 053.html
├── 359.html
├── 125.html
├── 213.html
├── 418.html
├── 040.html
├── 294.html
├── 386.html
├── 394-curl.html
├── 282.html
├── 298.html
├── 335.html
├── 122.html
├── 049.html
├── 170.html
├── 411.html
├── 133.html
├── 155.html
├── 156.html
├── 173.html
├── 305.html
├── 417.html
├── 211.html
├── 338.html
├── 126.html
├── 187.p
├── 206.html
├── 217.html
├── 426.html
├── 042.html
├── 120.html
├── 218.html
├── 128.html
├── 249.html
├── 307.html
├── 354.html
├── 161.html
├── 285.html
├── 118.html
├── 245.html
├── 347-curl.html
├── 132.html
├── 244.html
├── 325.html
├── 051t.p
├── 210.html
├── 243.html
├── 299.html
├── 416.html
├── 183.html
├── 437.html
├── 320.html
├── 395.html
├── 326.html
├── 214.html
├── 179.p
├── 177.html
├── 257.html
├── 110.html
├── 288.html
├── 327.html
├── 399.html
├── 007.html
├── 022.html
├── 266.p
├── 278.html
└── 420.html
├── src
├── lib
│ ├── gc
│ │ ├── Makefile.am
│ │ └── include
│ │ │ └── Makefile.am
│ ├── curl
│ │ └── Makefile.am
│ ├── cord
│ │ ├── include
│ │ │ ├── private
│ │ │ │ └── Makefile.am
│ │ │ └── Makefile.am
│ │ ├── source.url
│ │ └── Makefile.am
│ ├── Makefile.am
│ ├── smtp
│ │ ├── comms.C
│ │ └── Makefile.am
│ ├── sdbm
│ │ ├── pa-include
│ │ │ └── Makefile.am
│ │ └── Makefile.am
│ ├── gd
│ │ └── Makefile.am
│ ├── json
│ │ └── Makefile.am
│ ├── md5
│ │ └── Makefile.am
│ ├── punycode
│ │ └── Makefile.am
│ ├── memcached
│ │ └── Makefile.am
│ └── pcre
│ │ └── Makefile.am
├── doc
│ ├── view_chm.cmd
│ ├── view_html.cmd
│ ├── chm
│ │ └── dir.txt
│ ├── pooled.dox
│ ├── ClassExample1.dox
│ ├── sources2html.cmd
│ ├── object.dox
│ ├── html2chm.cmd
│ ├── compiler.dox
│ ├── class.dox
│ ├── executor.dox
│ ├── index.dox
│ └── footer.htm
├── sql
│ └── Makefile.am
├── targets
│ ├── cgi
│ │ └── .cvsignore
│ ├── isapi
│ │ ├── parser3isapi.def
│ │ └── Makefile.am
│ └── Makefile.am
├── Makefile.am
├── classes
│ └── xnode.C
├── main
│ └── helpers
│ │ └── CaseFolding.txt
└── include
│ └── pa_version.h
├── NEWS
├── ChangeLog
├── etc
├── Makefile.am
└── parser3.charsets
│ └── Makefile.am
├── AUTHORS
├── README
└── Makefile.am
/tests/061.dat:
--------------------------------------------------------------------------------
1 | 123
--------------------------------------------------------------------------------
/tests/216_dir/1:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/270_dir/z:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/370.dat:
--------------------------------------------------------------------------------
1 | 3
--------------------------------------------------------------------------------
/tests/022_dir/a.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/022_dir/b.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/022_dir/b[b].txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/022_dir/c.htm:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/216_dir/2.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/270_dir/270.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/415_dir/24.p:
--------------------------------------------------------------------------------
1 | $[]
--------------------------------------------------------------------------------
/tests/415_dir/25.p:
--------------------------------------------------------------------------------
1 | $ bug
--------------------------------------------------------------------------------
/tests/415_dir/26.p:
--------------------------------------------------------------------------------
1 | ^bug]
--------------------------------------------------------------------------------
/tests/161_utf8.txt:
--------------------------------------------------------------------------------
1 | проверка
--------------------------------------------------------------------------------
/tests/195_utf8.txt:
--------------------------------------------------------------------------------
1 | проверка
--------------------------------------------------------------------------------
/tests/223_utf8.txt:
--------------------------------------------------------------------------------
1 | Проверка
--------------------------------------------------------------------------------
/tests/230_utf8.txt:
--------------------------------------------------------------------------------
1 | ПрОвЕрКа
--------------------------------------------------------------------------------
/tests/247_utf8.txt:
--------------------------------------------------------------------------------
1 | проверка
--------------------------------------------------------------------------------
/tests/256.txt:
--------------------------------------------------------------------------------
1 | file-content
--------------------------------------------------------------------------------
/tests/270_dir/subdir/270.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/415_dir/27.p:
--------------------------------------------------------------------------------
1 | $z()
2 |
--------------------------------------------------------------------------------
/tests/outputs/create-dir:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/247_utf8_bom.txt:
--------------------------------------------------------------------------------
1 | проверка
--------------------------------------------------------------------------------
/tests/415_dir/20.p:
--------------------------------------------------------------------------------
1 | @bug[
2 |
3 |
--------------------------------------------------------------------------------
/tests/415_dir/23.p:
--------------------------------------------------------------------------------
1 | ^if(-f ){bug}
--------------------------------------------------------------------------------
/tests/415_dir/28.p:
--------------------------------------------------------------------------------
1 | ^bug:[]
2 |
--------------------------------------------------------------------------------
/tests/415_dir/30.p:
--------------------------------------------------------------------------------
1 | $(2+2)
2 |
--------------------------------------------------------------------------------
/tests/415_dir/31.p:
--------------------------------------------------------------------------------
1 | $(2+2)[v]
2 |
--------------------------------------------------------------------------------
/tests/060.html:
--------------------------------------------------------------------------------
1 | ^if('a' eq 'b'){y;n}
--------------------------------------------------------------------------------
/tests/415_dir/09.p:
--------------------------------------------------------------------------------
1 | @BUG
2 | bug
3 |
--------------------------------------------------------------------------------
/tests/415_dir/21.p:
--------------------------------------------------------------------------------
1 | @bug[;]
2 |
3 |
--------------------------------------------------------------------------------
/tests/001.html:
--------------------------------------------------------------------------------
1 | $var[value]
2 | $var
3 |
--------------------------------------------------------------------------------
/tests/004.html:
--------------------------------------------------------------------------------
1 | $env:SERVER_SOFTWARE
2 |
--------------------------------------------------------------------------------
/tests/httpd/002.txt:
--------------------------------------------------------------------------------
1 | GET HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/site/test.txt:
--------------------------------------------------------------------------------
1 | test?test.test!
--------------------------------------------------------------------------------
/src/lib/gc/Makefile.am:
--------------------------------------------------------------------------------
1 | SUBDIRS = include
2 |
--------------------------------------------------------------------------------
/tests/077.html:
--------------------------------------------------------------------------------
1 | $a#1[1]
2 | $a#1=
3 |
--------------------------------------------------------------------------------
/tests/415_dir/22.p:
--------------------------------------------------------------------------------
1 | @ok [] anything
2 | code
3 |
--------------------------------------------------------------------------------
/tests/httpd/008.txt:
--------------------------------------------------------------------------------
1 | GET %2Ftest.txt HTTP/1.0
2 |
--------------------------------------------------------------------------------
/tests/httpd/011.txt:
--------------------------------------------------------------------------------
1 | GET test.txt HTTP/1.0
2 |
--------------------------------------------------------------------------------
/src/doc/view_chm.cmd:
--------------------------------------------------------------------------------
1 | START /max "" chm\parser3src.chm
--------------------------------------------------------------------------------
/src/doc/view_html.cmd:
--------------------------------------------------------------------------------
1 | START /max "" html\index.htm
--------------------------------------------------------------------------------
/tests/017.html:
--------------------------------------------------------------------------------
1 | $h[^if(1){$.a(1);$.a(2)}]
2 | $h.a
3 |
--------------------------------------------------------------------------------
/tests/082.html:
--------------------------------------------------------------------------------
1 | ^for[a](0;6){^if($a<3){}{$a}}[,]
2 |
--------------------------------------------------------------------------------
/tests/166.html:
--------------------------------------------------------------------------------
1 | $s[12312]
2 | ^s.match[2][gn]
3 |
4 |
--------------------------------------------------------------------------------
/tests/415_dir/29.p:
--------------------------------------------------------------------------------
1 | @auto[]
2 | $x[ $.a.b[c] ]
3 |
--------------------------------------------------------------------------------
/tests/httpd/010.txt:
--------------------------------------------------------------------------------
1 | GET /test%2Ftest.txt HTTP/1.0
2 |
--------------------------------------------------------------------------------
/tests/httpd/023.txt:
--------------------------------------------------------------------------------
1 | GET /auto.p HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/024.txt:
--------------------------------------------------------------------------------
1 | GET /index.html HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/029.txt:
--------------------------------------------------------------------------------
1 | GET /029.html HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/038.txt:
--------------------------------------------------------------------------------
1 | GET /test/%D HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/src/doc/chm/dir.txt:
--------------------------------------------------------------------------------
1 | parser3src.chm will be created here
--------------------------------------------------------------------------------
/src/lib/curl/Makefile.am:
--------------------------------------------------------------------------------
1 | noinst_HEADERS = curl.h
2 |
3 |
--------------------------------------------------------------------------------
/src/sql/Makefile.am:
--------------------------------------------------------------------------------
1 | include_HEADERS = pa_sql_driver.h
2 |
--------------------------------------------------------------------------------
/src/targets/cgi/.cvsignore:
--------------------------------------------------------------------------------
1 | p2Debug
2 | Debug*
3 | Release*
--------------------------------------------------------------------------------
/tests/034.html:
--------------------------------------------------------------------------------
1 | $t[abcABC]
2 | $t
3 | ^t.upper[]
4 |
--------------------------------------------------------------------------------
/tests/069.html:
--------------------------------------------------------------------------------
1 | $sQuantity[ ]
2 | ^sQuantity.int(10)
3 |
--------------------------------------------------------------------------------
/tests/087.html:
--------------------------------------------------------------------------------
1 | ^eval(1<<3)
2 | ^eval(8>>2)
3 |
--------------------------------------------------------------------------------
/tests/182_dir/a6.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | x
3 |
4 | @USE
5 | a3.p
6 |
--------------------------------------------------------------------------------
/tests/366.p:
--------------------------------------------------------------------------------
1 | @auto[]
2 | $LOG[$LOG 366.p used
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/369.html:
--------------------------------------------------------------------------------
1 | $response:status[404]
2 | not found
3 |
--------------------------------------------------------------------------------
/tests/415_dir/06.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | test6
3 |
4 | @BASE
5 |
--------------------------------------------------------------------------------
/tests/httpd/009.txt:
--------------------------------------------------------------------------------
1 | GET /.%2E/data/test.txt HTTP/1.0
2 |
--------------------------------------------------------------------------------
/tests/httpd/013.txt:
--------------------------------------------------------------------------------
1 | GET /.%2E\data/test.txt HTTP/1.0
2 |
--------------------------------------------------------------------------------
/tests/httpd/014.txt:
--------------------------------------------------------------------------------
1 | GET /%00test.txt HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/028.txt:
--------------------------------------------------------------------------------
1 | GET /?name=value&a=b HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/NEWS:
--------------------------------------------------------------------------------
1 | Read the Parser3 news at http://www.parser.ru/en/news/
2 |
--------------------------------------------------------------------------------
/tests/048.html:
--------------------------------------------------------------------------------
1 | $a12[a12 variable value]
2 | $b[12]
3 | $a$b
4 |
--------------------------------------------------------------------------------
/tests/104.html:
--------------------------------------------------------------------------------
1 | $s[123]
2 | $t[^s.match[.(.).]]
3 | $t.1
4 |
--------------------------------------------------------------------------------
/tests/105.html:
--------------------------------------------------------------------------------
1 | $s[123]
2 | $t[^s.match[x(x)x]]
3 | $t.1
4 |
--------------------------------------------------------------------------------
/tests/226.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | test
3 |
4 | @call[]
5 | it works!
6 |
--------------------------------------------------------------------------------
/tests/415_dir/01.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | test1
3 | second line
4 |
5 |
--------------------------------------------------------------------------------
/tests/415_dir/03.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | test3
3 |
4 | @BASE
5 | bug
6 |
--------------------------------------------------------------------------------
/tests/415_dir/13.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | test13
3 |
4 | @bug:method[]
5 |
--------------------------------------------------------------------------------
/tests/419.html:
--------------------------------------------------------------------------------
1 | $response:body[ $.file[022_dir/b[b].txt] ]
2 |
--------------------------------------------------------------------------------
/tests/httpd/007.txt:
--------------------------------------------------------------------------------
1 | GET /../data/test.txt HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/httpd/012.txt:
--------------------------------------------------------------------------------
1 | GET /test.txt?path=/../ HTTP/1.0
2 |
3 |
--------------------------------------------------------------------------------
/tests/outputs/d.cmd:
--------------------------------------------------------------------------------
1 | gdiff ..\results\%1.processed %1.processed
--------------------------------------------------------------------------------
/tests/003.html:
--------------------------------------------------------------------------------
1 | $s[ select]
2 | $s[^s.match[^^\s*][]{!}]
3 | $s
4 |
--------------------------------------------------------------------------------
/tests/066.html:
--------------------------------------------------------------------------------
1 | ^math:crypt[123;^$apr1^$1234567890abcdef]
2 |
--------------------------------------------------------------------------------
/tests/070.html:
--------------------------------------------------------------------------------
1 | $f[^file::stat[070.html]]
2 | $f.content-type
3 |
--------------------------------------------------------------------------------
/tests/080.html:
--------------------------------------------------------------------------------
1 | $str[^eval("1e-20"*2)]
2 | ^str.match[-0][]{-}
3 |
--------------------------------------------------------------------------------
/tests/094.html:
--------------------------------------------------------------------------------
1 | @main[]
2 | ^a[]^#31=
3 |
4 | @a[]
5 | (a called)
--------------------------------------------------------------------------------
/tests/httpd/005.txt:
--------------------------------------------------------------------------------
1 | GET / HTTP/1.0
2 | :value
3 |
4 |
5 | columns: 1 6 | =a= 7 |-------------------------------------------------------------------------------- /tests/results/375.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 24 3 | 4 | 1. "" 5 | 2. "" 6 | 3. "failed" 7 | -------------------------------------------------------------------------------- /tests/results/423.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 23 3 | 4 | a a 5 | b once 6 | a1 a1 7 | a2 a2 8 | -------------------------------------------------------------------------------- /src/lib/sdbm/pa-include/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_HEADERS = pa_apr.h pa_errno.h pa_file_info.h pa_file_io.h pa_sdbm.h pa_strings.h 2 | -------------------------------------------------------------------------------- /tests/028.html: -------------------------------------------------------------------------------- 1 | $h[ 2 | $.a[1] 3 | $.b[2] 4 | ] 5 | $c[^table::create{o 6 | ^h.foreach[key;value]{$value 7 | }}] 8 | $c.o 9 | -------------------------------------------------------------------------------- /tests/051.html: -------------------------------------------------------------------------------- 1 | @USE 2 | /tests/051t.p 3 | 4 | @main[] 5 | $t[^t::create[]] 6 | ^t.method[] 7 |
<d>=&=</d> 5 | 6 |-------------------------------------------------------------------------------- /tests/results/162.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 32 3 | 4 |
5 | 2 22 6 | 3 33 7 | 5 22 8 | 6 33 9 |-------------------------------------------------------------------------------- /tests/results/300.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 15 3 | 4 | 2 5 | 1 6 | 2 7 | z 8 | 0 9 | z 10 | z 11 | z -------------------------------------------------------------------------------- /tests/037.html: -------------------------------------------------------------------------------- 1 | $t[^table::create{a b 2 | 1 11 3 | 2 22 4 | }] 5 | $c[^table::create[$t]] 6 | ^c.append{2 33} 7 | ^t.count[] 8 | ^c.count[] 9 | -------------------------------------------------------------------------------- /tests/072.html: -------------------------------------------------------------------------------- 1 | @main[] wwrapperpass 2 | $h[^hash::create[]] 3 | $h.a(0) 4 | ^my_method[^if(2){$h}] 5 | 6 | @my_method[p] 7 | ^p._count[] 8 | -------------------------------------------------------------------------------- /tests/114.html: -------------------------------------------------------------------------------- 1 | $d[^xdoc::create{
<d attr="привет"></d> 5 | 6 |-------------------------------------------------------------------------------- /tests/results/198.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 57 3 | 4 | '' -- should be empty string! 5 |
10 | columns: ^c.count[] 11 | =$t.$var= 12 |13 | -------------------------------------------------------------------------------- /tests/408.html: -------------------------------------------------------------------------------- 1 | $s[test] 2 | ^s.save[a/test.txt] 3 | ^file:move[a;b/c/] 4 | 1. ^if(-f "b/c/test.txt"){ok}{fail} 5 | ^file:delete[b/c/test.txt] 6 | 2. ^if(-d "b"){fail}{ok} 7 | -------------------------------------------------------------------------------- /tests/results/123.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 79 3 | 4 | 2003-01-31 00:00:00 5 | 2003-02-28 00:00:00 6 | 2003-05-31 00:00:00 7 | 2003-06-30 00:00:00 -------------------------------------------------------------------------------- /tests/results/249.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 83 3 | 4 | display v1: v1 5 | display v2 (with default setter): =v2= 6 | display default getter: =v1== -------------------------------------------------------------------------------- /tests/results/328.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 72 3 | 4 | Exception type: parser.break, 5 | Source: break, 6 | Comment: without cycle 7 | 1 8 | 2 9 | -------------------------------------------------------------------------------- /tests/results/335.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 91 3 | 4 | no default 5 | default is 'z' ('z') default is 'z' ('z') default is '' ('') default is '' ('') -------------------------------------------------------------------------------- /src/lib/cord/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libcord.la 2 | libcord_la_SOURCES = cordbscs.c cordxtra.c 3 | 4 | EXTRA_DIST = cord.vcproj source.url 5 | 6 | SUBDIRS = include 7 | -------------------------------------------------------------------------------- /tests/073.html: -------------------------------------------------------------------------------- 1 | @main[] 2 | ^test[^date::create(2002;1;3)] 3 | ^test[^date::create(2002;10;20)] 4 | 5 | @test[date] 6 | $date.daylightsaving
5 |
--------------------------------------------------------------------------------
/tests/results/206.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 100
3 |
4 | 2+2: 4
5 | :)^taint[html][^xdoc.string[ 7 | $.method[html] 8 | ]] 9 |10 | -------------------------------------------------------------------------------- /tests/112.html: -------------------------------------------------------------------------------- 1 | @main[] 2 | $d[^xdoc::create{
^taint[html][^xdoc.string[ 7 | $.method[html] 8 | ]] 9 |10 | -------------------------------------------------------------------------------- /tests/123.html: -------------------------------------------------------------------------------- 1 | @main[] 2 | ^test[2003-01-31] 3 | ^test[2003-05-31] 4 | 5 | @test[date_str] 6 | $date[^date::create[$date_str]] 7 | ^date.sql-string[] 8 | ^date.roll[month](+1) 9 | ^date.sql-string[] 10 | 11 | -------------------------------------------------------------------------------- /tests/194.html: -------------------------------------------------------------------------------- 1 | @main[][oMyObject] 2 | $sDir[194_dir] 3 | ^use[$sDir/194.p] 4 | 5 | $oMyObject[^MyObject::create[]] 6 | 7 | ^if($oMyObject){true}{false}
5 | [ 6 | ["n","a","b","c",""], 7 | ["0","a1","b1",""], 8 | ["1","a2","","c2"], 9 | ["2","","b3","c3"] 10 | ] 11 |-------------------------------------------------------------------------------- /tests/results/387.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 125 3 | 4 | Exception type: parser.runtime, 5 | Source: use, 6 | Comment: circular class inheritance detected in class 'A' 7 | A base: void 8 | B base: A -------------------------------------------------------------------------------- /tests/results/402.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 127 3 | 4 | Unhandled Exception: parser.runtime 5 | Source: main 6 | Comment: is 'hash', it has no string representation 7 | no file 8 | no stack -------------------------------------------------------------------------------- /etc/parser3.charsets/Makefile.am: -------------------------------------------------------------------------------- 1 | charsetsdir=@datadir@/charsets 2 | charsets_DATA=cp866.cfg koi8-r.cfg koi8-u.cfg windows-1250.cfg windows-1251.cfg windows-1254.cfg windows-1257.cfg x-mac-cyrillic.cfg 3 | EXTRA_DIST=$(charsets_DATA) -------------------------------------------------------------------------------- /tests/190.p: -------------------------------------------------------------------------------- 1 | @CLASS 2 | test190 3 | 4 | 5 | @auto[] 6 | $a[test190_a] 7 | 8 | 9 | @do[] 10 | $result[$caller.self.a] 11 | 12 | 13 | @GET_DEFAULT[sName] 14 | $result[non-exist ^$test190:$sName was requested] 15 | 16 | -------------------------------------------------------------------------------- /tests/results/322.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 102 3 | 4 | code: yes 5 | method: no 6 | juction: yes 7 | code: no 8 | method: yes 9 | juction: yes 10 | void: yes 11 | string: yes 12 | context: yes -------------------------------------------------------------------------------- /tests/results/366.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 114 3 | 4 | native LOG: 366.p used 5 | test-duplicate.p used 6 | test.p used 7 | parser LOG: 366.p used 8 | test-duplicate.p used 9 | test.p used 10 | -------------------------------------------------------------------------------- /tests/results/371.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 91 3 | 4 | { 5 | "test":{ 6 | "key":"value", 7 | "key2":"value2" 8 | } 9 | } 10 | { 11 | "test":{ 12 | "key":"value", 13 | "key2":"value2" 14 | } 15 | } -------------------------------------------------------------------------------- /src/lib/punycode/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_HEADERS = pa_idna.h pa_punycode.h pa_convert_utf.h 2 | noinst_LTLIBRARIES = libpunycode.la 3 | libpunycode_la_SOURCES = pa_idna.c pa_punycode.c pa_convert_utf.c 4 | 5 | EXTRA_DIST = punycode.vcproj 6 | -------------------------------------------------------------------------------- /tests/204.html: -------------------------------------------------------------------------------- 1 | $response:zigi1[1] 2 | $response:zigi2[2] 3 | ^json:string[$response:headers] 4 | 5 | ^response:clear[] 6 | 7 | $response:zigi[z] 8 | $response:Zigi[zz] 9 | ^json:string[$response:headers] 10 | 11 | done. 12 | -------------------------------------------------------------------------------- /tests/283.html: -------------------------------------------------------------------------------- 1 | @main[] 2 | 3 | $s[=^#0D=] 4 | $s - it should survive 5 | 6 | $f[^file::create[text;;$s]] 7 | $f.text - it should not survive 8 | 9 | $f[^file::create[binary;;$s]] 10 | $f.text - it should survive 11 | 12 | -------------------------------------------------------------------------------- /tests/httpd/031.curl: -------------------------------------------------------------------------------- 1 | request="POST" 2 | form="file=@site/test.txt" 3 | form="file=just text" 4 | form="file=@site/index.html" 5 | form="another-file=@site/test.txt" 6 | form="name=value" 7 | form="name=value2" 8 | form="name=value3" 9 | -------------------------------------------------------------------------------- /tests/127.html: -------------------------------------------------------------------------------- 1 | $table[^table::create{group name 2 | first a 3 | first b 4 | second c 5 | third d 6 | third e 7 | }] 8 | 9 | $distinct_hash[^table.hash[group;name][ 10 | $.distinct(1) 11 | ]] 12 | ^distinct_hash._count[]
6 | ^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week,$week_days.year=
}
7 |
8 |
--------------------------------------------------------------------------------
/tests/027.html:
--------------------------------------------------------------------------------
1 | $h[
2 | $.d[1]
3 | $.a[2]
4 | $.c[3]
5 | $.b[4]
6 | ]
7 | $c[
8 | ^h.foreach[key;value]{
9 | $.$key[$value]
10 | }
11 | ]
12 | ^h.sort[k;]{$k}
13 | ^json:string[$h]
14 | ^json:string[$c]
15 | ^c.sort[;v]($v)[desc]
16 | ^json:string[$c]
17 |
--------------------------------------------------------------------------------
/tests/results/156.processed:
--------------------------------------------------------------------------------
1 | Set-Cookie: name=zigi; httponly; expires=Tue, 25 Feb 2003 21:00:00 GMT; path=/
2 | Set-Cookie: name1=zigi; expires=Tue, 25 Feb 2003 21:00:00 GMT; path=/
3 | Content-Type: text/html
4 | Content-Length: 19
5 |
6 | ==
7 | =zigi=
8 | ==
9 | =zigi=
--------------------------------------------------------------------------------
/tests/results/263.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 86
3 |
4 | 1.
5 | a1=1
6 | a2=2
7 | 0=3
8 | 1=4
9 | 2=5
10 | 3=6
11 | 2.
12 | 0=1
13 | 1=2
14 | 2=3
15 | 3=4
16 | 4=5
17 | 5=6
18 | 3.
19 | void
20 | hash
21 | 4.
22 | void
23 | void
24 | hash
--------------------------------------------------------------------------------
/tests/results/426.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 139
3 |
4 | negative limit: []
5 | negative offset: [
6 | {"data":"data1"},
7 | {"data":"data2"},
8 | {"data":"data3"},
9 | {"data":"data4"}
10 | ]
11 | normal: [
12 | {"data":"data2"}
13 | ]
--------------------------------------------------------------------------------
/tests/176_dir/d.p:
--------------------------------------------------------------------------------
1 | @CLASS
2 | d
3 |
4 | @BASE
5 | a
6 |
7 | @OPTIONS
8 | locals
9 |
10 | @create[]
11 | ^BASE:create[]
12 |
13 | @two[][two_1]
14 | $two_1[two_1] ^rem{ local }
15 | $two_2[two_2] ^rem{ not local }
16 | $self.two_3[two_3] ^rem{ not local }
17 |
18 |
--------------------------------------------------------------------------------
/tests/265.html:
--------------------------------------------------------------------------------
1 | @main[]
2 |
3 | $source[AB
4 | CD
5 |
6 | EF
7 | GH
8 | IJ
9 |
10 | KL
11 | MN
12 | OP]
13 |
14 | $parts[^source.match[^^(.*)^$][gm]]
15 |
16 | Total: ^parts.count[]
17 |
18 | ^if($parts){
19 | ^parts.menu{
20 | =$parts.1=
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/results/305.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 149
3 |
4 | test.артлебедев.рф
5 | ipv4
6 | ip: 91.197.112.64 4
7 | ip: 91.197.112.65 4
8 | ipv-any
9 | ip: 91.197.112.64 4
10 | ip: 91.197.112.65 4
11 | ip: ::1 6
12 | ipv6
13 | ip: ::1 6
14 |
--------------------------------------------------------------------------------
/tests/results/367-curl.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 167
3 |
4 | text: 200 (3 bytes)
5 | name: 367.html
6 | charset: text/html; charset=UTF-8
7 | max identical headers: 1
8 | url: http://www.parser.ru/_/tests/367.html after 2 requests (1 redirect)
9 |
--------------------------------------------------------------------------------
/tests/results/410.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 155
3 |
4 | o1: some code result
5 | o2: some code result
6 | o3: some code result
7 | calls count: 1
8 | c1: some code result
9 | c2: some code result
10 | c3: some code result
11 | calls count: 1
--------------------------------------------------------------------------------
/tests/074.html:
--------------------------------------------------------------------------------
1 | @main[]
2 | ^monthdays(2000;1)
3 | ^monthdays(2000;2)
4 | ^monthdays(2003;1)
5 | ^monthdays(2003;2)
6 |
7 | @monthdays[year;month]
8 | $from[^date::create($year;$month;1)]
9 | $to[^date::create($from)] ^to.roll[month](+1)
10 | ^eval($to-$from)
13 | ^t1.menu{
14 | $t1.a $t1.b
15 | }[^#0A]
16 |
17 |
18 | @condition[t]
19 | $result($t.b != 11)
20 |
--------------------------------------------------------------------------------
/tests/371.html:
--------------------------------------------------------------------------------
1 | @main[]
2 |
3 | #WWrapper.get_element used here
4 |
5 | $hTemplate[ $.test[ $.key[value] ] ]
6 |
7 | ^json:string[
8 | $hTemplate
9 | $.test.key2[value2]
10 | ]
11 |
12 | ^json:string[
13 | $.test[ $.key[value] ]
14 | $.test.key2[value2]
15 | ]
16 |
--------------------------------------------------------------------------------
/tests/results/385.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 158
3 |
4 | Exception type: parser.runtime,
5 | Source: test,
6 | Comment: class is undefined
7 | it works!
8 | Exception type: parser.runtime,
9 | Source: zigi,
10 | Comment: class is undefined
11 |
--------------------------------------------------------------------------------
/tests/results/404.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 181
3 |
4 | 1. whitespace string for table - OK 2. Exception type: parser.runtime,
5 | Source: join,
6 | Comment: source param must have table representation (parameter #1 is 'string')
7 | 3. string string
--------------------------------------------------------------------------------
/tests/402.html:
--------------------------------------------------------------------------------
1 | @unhandled_exception[exception;stack]
2 | Unhandled Exception: $exception.type
3 | Source: $exception.source
4 | Comment: $exception.comment
5 | ^if(!def $exception.file){no file}
6 | ^if(!def $stack){no stack}
7 |
8 | @main[]
9 | $result[^hash::create[]]
10 |
--------------------------------------------------------------------------------
/tests/results/301.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 170
3 |
4 | $h.double: 1.25 | aaaaaaaaaa!_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7 |-------------------------------------------------------------------------------- /tests/results/318.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 171 3 | 4 | Unhandled Exception: parser.compile 5 | Source: Comment: a - class is already defined 6 | File: a3.p(4:6) 7 | USE a6.p(5:1) 8 | use 318.html(12:2) 9 | method 318.html(16:6) 10 | if 318.html(15:2) 11 | -------------------------------------------------------------------------------- /tests/results/394-curl.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 188 3 | 4 | Exception type: parser.runtime, 5 | Source: http://www.parser.ru/_/tests/394.dat, 6 | Comment: content size of 10240 bytes exceeds the limit (10000 bytes) 7 | file size: 0 vs 10240 8 | file size: 61 vs 63 -------------------------------------------------------------------------------- /tests/053.html: -------------------------------------------------------------------------------- 1 | $b[b] 2 | $s[ 3 | aaaaaaaaaa${b}aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa${b}aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5 | ] 6 |
^s.replace[^table::create{from to
7 | ba !_}]
8 |
--------------------------------------------------------------------------------
/tests/359.html:
--------------------------------------------------------------------------------
1 | @main[]
2 |
3 | ^json:string[
4 | ^if{0 $.key[value]}{ $.344[then] }{ $.345[else] }
5 |
6 | ^rem{VCodeFrame usage test, bug if WWrapper used}
7 | ^m{$.1[1]}
8 | ^m{$.2[2]}
9 |
10 | ^while{0 $._345[yes]}{ $._344[yes] ^break[] }
11 | ]
12 |
13 | @m[code]
14 | $code
15 |
--------------------------------------------------------------------------------
/tests/results/288.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 185
3 |
4 | prop1: prop1
5 | prop2: set_prop2
6 | prop1 modified: set_prop1 - via SET_DEFAULT
7 | Exception type: parser.runtime,
8 | Source: prop1,
9 | Comment: this property has no setter method (@SET_prop1[value])
10 |
--------------------------------------------------------------------------------
/tests/results/306.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 210
3 |
4 | Exception type: parser.runtime,
5 | Source: no-such-element,
6 | Comment: element cannot be stored into xnode
7 |
8 |
10 | '^cd.sql-string[] (^eval($cd))' ^if($cd == $td){==}{!=} '^td.sql-string[] (^eval($td))'
11 |
--------------------------------------------------------------------------------
/tests/049.html:
--------------------------------------------------------------------------------
1 | $tt[1]
2 | $tmp[
3 | ^switch[$tt]{
4 | ^case[1]{
5 | $.aaa[123]
6 | }
7 | ^case[DEFAULT]{
8 | $.bbb[456]
9 | }
10 | }
11 | shit!
12 | ]
13 | #$tmp
14 | $tmp.aaa
15 |
--------------------------------------------------------------------------------
/tests/170.html:
--------------------------------------------------------------------------------
1 | @main[]
2 | =^m1[1;2]=
3 | =^m2[1;2]=
4 | =^m3[1;2]=
5 | #=^try{^m4[1;2]}{$exception.handled(1)failed. it's ok}=
6 |
7 | @m1[a;b]
8 | ^if(0){$a}{$b}
9 |
10 | @m2[a;b][result]
11 | ^if(0){$a}{$b}
12 |
13 | @m3[a;b]
14 | ^if(0){$a}{$b}
15 |
16 | #@m4[a;b][result]
17 | #^if(0){$a}{$b}
18 |
--------------------------------------------------------------------------------
/tests/411.html:
--------------------------------------------------------------------------------
1 | $result[]
2 | ^date:roll[TZ;Europe/Moscow]
3 |
4 | ^for[i](0;10000){
5 |
6 | $dt[^date::today(-$i)]
7 | $dt2[^date::today[]]
8 |
9 | $dt2[^date::create($dt2-$i)]
10 | ^if(^dt.iso-string[] ne ^dt2.iso-string[]){ $result[^dt.iso-string[] vs ^dt2.iso-string[]^#0A] ^break[] }
11 | }
12 |
--------------------------------------------------------------------------------
/src/lib/sdbm/Makefile.am:
--------------------------------------------------------------------------------
1 | SUBDIRS = pa-include
2 |
3 | AM_CPPFLAGS = -Ipa-include
4 |
5 | noinst_HEADERS = sdbm_pair.h sdbm_private.h sdbm_tune.h
6 | noinst_LTLIBRARIES = libsdbm.la
7 | libsdbm_la_SOURCES = sdbm.c sdbm_hash.c sdbm_lock.c sdbm_pair.c pa_file_io.C pa_strings.C
8 |
9 | EXTRA_DIST = sdbm.vcproj
10 |
11 |
--------------------------------------------------------------------------------
/tests/results/013.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 179
3 |
4 | not kretin
5 | =123=
6 |
15 | '2023-03-31 00:00:00 (19446.875)' == '2023-03-31 00:00:00 (19446.875)'
--------------------------------------------------------------------------------
/tests/results/205.processed:
--------------------------------------------------------------------------------
1 | Content-Disposition: inline; filename="zigi.txt"; filename*=UTF-8''zigi.txt
2 | Content-Type: application/octet-stream
3 | Content-Length: 142
4 |
5 | text file content plus {
6 | "BODY":{
7 | "class":"file",
8 | "name":"zigi.txt",
9 | "size":17,
10 | "mode":"text",
11 | "content-type":"application\/octet-stream"
12 | }
13 | }
--------------------------------------------------------------------------------
/tests/results/222.processed:
--------------------------------------------------------------------------------
1 | Content-Type: text/html
2 | Content-Length: 214
3 |
4 | 0: '11', 1: '12', 2: '13'
5 |
6 | 0: '21', 1: '22', 2: void
7 |
8 | 0: '31', 1: void, 2: void
9 |
10 | 0: '41', 1: '', 2: '43'
11 |
12 | 0: '', 1: '52', 2: '53'
13 |
14 | 0: '', 1: '62', 2: void
15 |
16 | 0: '', 1: '', 2: '73'
17 |
--------------------------------------------------------------------------------
/src/doc/class.dox:
--------------------------------------------------------------------------------
1 | /** @page Class Class: parent+methods+fields
2 |
3 | Class holds
4 | - parent: VStateless_class::base();
5 | - bunch of methods: VStateless_class::fmethods, Method.
6 | - fields: VClass::ffields
7 |
8 | VStateless_class::get_element returns method+self[VJunction].
9 | VClass_class::get_element returns static fields
10 |
11 |
12 | */
13 |
--------------------------------------------------------------------------------
/tests/118.html:
--------------------------------------------------------------------------------
1 | $input[^xdoc::create[docBad]]
2 | $sheet[^xdoc::create{
3 |
привет
6 | 01 =48,2002=-------------------------------------------------------------------------------- /tests/results/270.processed: -------------------------------------------------------------------------------- 1 | Content-Type: text/html 2 | Content-Length: 292 3 | 4 | /tests/270_dir///subdir/270.txt
02 03 04 05 06 07 08 =49,2002=
09 10 11 12 13 14 15 =50,2002=
16 17 18 19 20 21 22 =51,2002=
23 24 25 26 27 28 29 =52,2002=
30 31 =01,2003=
7 |