summary refs log tree commit diff stats
path: root/tests/stdlib/tpegs.nim
Commit message (Collapse)AuthorAgeFilesLines
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-36/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* Pegs AST read access (#8050)gemath2018-06-191-0/+78
| | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category.
* update the documentation about the new strings/seqs behavioursAndreas Rumpf2018-04-291-1770/+0
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-11/+11
|
* makes tests greenAndreas Rumpf2016-01-151-1/+1
|
* renamed writeln to writeLine in testspatrick dw2015-06-191-173/+173
|
* Get rid of deprecation warnings in pegsdef2015-01-161-14/+14
|
* release of 0.10.2Araq2014-12-291-32/+32
|
* further adaptationsAraq2014-08-291-5/+5
|
* make some tests greenZahary Karadjov2014-03-161-1/+1
|
* Changed tests and tools to use 'discard' statements instead of 'nil' for ↵Clay Sweetser2014-02-151-7/+7
| | | | empty blocks.
* new tester; all tests categorizedAraq2014-01-131-0/+1770
d='n300' href='#n300'>300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455