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